]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6408eac2665955343cd0e4bcd7d6237ce39611ed
treea1df2191353c5fbe5595487faab4951bd43e84da
parent44832a71f377d9eae1d97afedad4d0d6d51fc485
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