ALSA: aloop: Fix Oops while PM resume
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2013 09:28:15 +0000 (10:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2013 09:28:15 +0000 (10:28 +0100)
commitedac894389f9c9de2a1368c78809c824b343f3a5
tree88c91a906d79a63a035a3dfe9bda2e167ef67890
parent20608731f479d48be6bcb88e727f360ddf98ddaf
ALSA: aloop: Fix Oops while PM resume

snd-aloop driver has no proper PM implementation, thus the PM resume
may trigger Oops due to leftover timer instance.  This patch adds the
missing suspend/resume implementation.

Reported-and-tested-by: El boulangero <elboulangero@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c