ALSA: timer - Fix Oops at closing slave timer
commitb80a78266d3495ab002fd2eb543e2f12be25591a
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:57:20 +0000 (15 18:57 -0700)
treeaea1248180af5470e72525ea95411fd34d09a4f0
parent263b89378807581c501e4673634fee5253126812
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