Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18d33cdb authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ASoC: amd: 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: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent bc70a9d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment