]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: aloop: Fix Oops while PM resume
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2013 09:28:15 +0000 (10:28 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:23:48 +0000 (03:23 +0000)
commitbc32ef0a6d6a6e1a4745101f2678a2ca1f3eb8fe
tree5d71c73d8ce9b0a0f1ba032c12ca5bf7366a0967
parenta3fe69ce2d34124b4db677e2a624afa323e557bb
ALSA: aloop: Fix Oops while PM resume

commit edac894389f9c9de2a1368c78809c824b343f3a5 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/drivers/aloop.c