]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01a7cc0051c5c01930382a38833d29c4c0af3b6b
tree7ed9e41f15612529917e4279d8e7bbe649aea5a5
parente63e25f4da47f54dc8d7e666671448d1743a39cd
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