]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcsp: Fix the order of input device unregistration
authorTakashi Iwai <tiwai@suse.de>
Thu, 14 Nov 2013 14:45:12 +0000 (15:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Nov 2013 14:50:10 +0000 (15:50 +0100)
commit6ae1cb7e77d0f306ebe771d39a5af7ec1e6c2212
treea1df2191353c5fbe5595487faab4951bd43e84da
parentc482b067dca4074544ef25162ce817e258ea2eeb
ALSA: pcsp: Fix the order of input device unregistration

The current code may access to the already freed object.  The input
device must be accessed and unregistered before freeing the top level
sound object.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/pcsp/pcsp.c