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)
commitbc70a9d70052c45483c2ef6a7fe08638cf88f490
tree9f8bf851307dfe6f5716522c5f8ce23c4081c1d9
parentc7c3fec8a524774dbd1daf7841df1217dd589298
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