]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: most: sound: pass correct device when creating a sound card
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 30 Apr 2019 12:07:48 +0000 (14:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2019 05:49:53 +0000 (07:49 +0200)
commit6643e2610aa7e745c49656d6917f47589d8de5e1
tree31ab127173383d476f46fe61331c973b9dc4441d
parentd0e289e4a66585b48151b42b940a4b54f8d10751
staging: most: sound: pass correct device when creating a sound card

commit 98592c1faca82a9024a64e4ecead68b19f81c299 upstream.

This patch fixes the usage of the wrong struct device when calling
function snd_card_new.

Reported-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Fixes: 69c90cf1b2fa ("staging: most: sound: call snd_card_new with struct device")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/sound/sound.c