]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: timer - Fix Oops at closing slave timer
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Aug 2011 10:24:46 +0000 (12:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 02:01:54 +0000 (19:01 -0700)
commit0ef6e5ad8910506f865cf5d4d6399035b9d92aa5
tree849e0f82f838e6ffb9d4efa250bb7d56eb66b7c2
parent4f92dd0dba4a3000b7ce3a7dfbe2be1ffbeb2bd1
ALSA: timer - Fix Oops at closing slave timer

commit 0584ffa548b6e59aceb027112f23a55f0133400e upstream.

A slave-timer instance has no timer reference, and this results in
NULL-dereference at stopping the timer, typically called at closing
the device.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=40682

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/core/timer.c