ALSA: hal2: pass struct device to DMA API functions
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Feb 2019 08:48:00 +0000 (09:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 1 Feb 2019 16:15:18 +0000 (17:15 +0100)
commit9f7d35d9f7a184ffb591b090b2cbf63d2d599c02
tree7ed9e41f15612529917e4279d8e7bbe649aea5a5
parent515548fdd8a3c579535fe05e3c39558f75158bc5
ALSA: hal2: pass struct device to DMA API functions

The DMA API generally relies on a struct device to work properly, and
only barely works without one for legacy reasons.  Pass the easily
available struct device from the platform_device to remedy this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/mips/hal2.c