]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: arm: Avoid passing NULL to memory allocators
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 13:26:27 +0000 (14:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:51:46 +0000 (16:51 +0100)
commite2e5c96ee511d90e97080f5a7c6928dceb68aeb6
tree9f8bf851307dfe6f5716522c5f8ce23c4081c1d9
parent2b55eba8c5f14a184745ee4d35735f24e961a991
ALSA: arm: 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/arm/aaci.c