ALSA: timer - Fix Oops at closing slave timer
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Aug 2011 10:24:46 +0000 (12:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Aug 2011 10:24:46 +0000 (12:24 +0200)
commit0584ffa548b6e59aceb027112f23a55f0133400e
treeec5b83bf7323428554f6170fc421f022b51426df
parent67ada8367c323ce13d0268c87cf09bf8af956e92
ALSA: timer - Fix Oops at closing slave timer

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

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