OpenCloudOS-Kernel/sound/mips
Christoph Hellwig 6a8125c3ca ALSA: mips: 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.

Also use GFP_KERNEL instead of GFP_USER as the gfp_t for the memory
allocation, as we should treat this allocation as a normal kernel one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-02-01 17:15:44 +01:00
..
Kconfig ALSA: Remove deprecated AU1X00 AC97 driver 2016-02-08 08:17:15 +01:00
Makefile ALSA: Remove deprecated AU1X00 AC97 driver 2016-02-08 08:17:15 +01:00
ad1843.c ALSA: mips/ad1843: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:35:16 +01:00
hal2.c ALSA: hal2: pass struct device to DMA API functions 2019-02-01 17:15:18 +01:00
hal2.h ALSA: ALSA driver for SGI HAL2 audio device 2008-07-14 09:00:57 +02:00
sgio2audio.c ALSA: mips: pass struct device to DMA API functions 2019-02-01 17:15:44 +01:00