summaryrefslogtreecommitdiffstats
path: root/sound/x86
diff options
context:
space:
mode:
authorTakashi Iwai2019-02-01 12:14:53 +0100
committerTakashi Iwai2019-02-01 17:16:40 +0100
commit0b6a2c9cf4a00f54a0916499ece8a5cf3cced385 (patch)
tree675b07d3e0b4b06c835cacdc42e3fc1ad6c801bf /sound/x86
parentALSA: mips: pass struct device to DMA API functions (diff)
downloadkernel-qcow2-linux-0b6a2c9cf4a00f54a0916499ece8a5cf3cced385.tar.gz
kernel-qcow2-linux-0b6a2c9cf4a00f54a0916499ece8a5cf3cced385.tar.xz
kernel-qcow2-linux-0b6a2c9cf4a00f54a0916499ece8a5cf3cced385.zip
ALSA: isa: Avoid passing NULL to memory allocators
We used to pass NULL to memory allocators for ISA devices due to historical reasons. But we prefer rather a proper device object to be assigned, so let's fix it by replacing snd_dma_isa_data() call with card->dev reference, and kill snd_dma_isa_data() definition. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86')
0 files changed, 0 insertions, 0 deletions