ALSA: timer - Fix Oops at closing slave timer
commit9ef4ce3c5f9f8960ef347ad85a90ccb9e11fb482
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Aug 2011 10:24:46 +0000 (8 12:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:36 +0000 (15 18:31 -0700)
tree3714996296c92754d9e29d59c7f71ab863c2b97f
parent4c1f50da71cc26a4074ec4b1cb748869a6279f39
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