# Re: \[alsa-devel\] don't pass a NULL struct device to DMA API functions

- From: Takashi Iwai \<hidden\>
- Date: 2019-02-01 16:18:25 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/02/5501541
- Thread: https://ratatoskr.run/linux-mips/2019/02/5501082/t.md

```text
On Fri, 01 Feb 2019 17:09:57 +0100,
Christoph Hellwig wrote:
> 
> On Fri, Feb 01, 2019 at 02:16:08PM +0100, Takashi Iwai wrote:
> > Actually there are a bunch of ISA sound drivers that still call
> > allocators with NULL device.
> > 
> > The patch below should address it, although it's only compile-tested.
> 
> Oh, I missed these "indirect" calls.  This looks good to me:
> 
> Reviewed-by: Christoph Hellwig <hch@lst.de>

OK, merged this one to for-next branch now as well.


thanks,

Takashi

```
