projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15ec0b
)
ALSA: ac97: fix unbalanced pm_runtime_enable
author
Lihua Yao
<ylhuajnu@163.com>
Wed, 15 Aug 2018 15:20:35 +0000
(23:20 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 19 Aug 2018 16:37:04 +0000
(18:37 +0200)
Runtime PM is enabled at ac97_bus_probe() and should be disabled
at ac97_bus_remove().
Fixes:
74426fbff66e
("ALSA: ac97: add an ac97 bus")
Signed-off-by: Lihua Yao <ylhuajnu@163.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ac97/bus.c
patch
|
blob
|
history
diff --git
a/sound/ac97/bus.c
b/sound/ac97/bus.c
index
640812c
..
9f0c480
100644
(file)
--- a/
sound/ac97/bus.c
+++ b/
sound/ac97/bus.c
@@
-537,6
+537,8
@@
static int ac97_bus_remove(struct device *dev)
if (ret == 0)
ac97_put_disable_clk(adev);
+ pm_runtime_disable(dev);
+
return ret;
}