]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Avoid passing NULL to memory allocators
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 13:24:52 +0000 (14:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:51:34 +0000 (16:51 +0100)
commit586c4af20ab237d2368d7e28812c70f93c6d6d6a
tree9764071ea192f17f849ab985b5df784955ae7b56
parent0a10cc8660d0edb276e0cd260d9bc817c4c6c859
ALSA: x86: Avoid passing NULL to memory allocators

We should pass a proper non-NULL device object to memory allocators
although it was accepted in the past.  The card->dev points to the
most appropriate device object in such a case, so let's put it.

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