OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f799e7
)
ASoC: hdac_hdmi: Add missing display power-off at driver removal
author
Takashi Iwai
<tiwai@suse.de>
Sun, 9 Dec 2018 09:06:59 +0000
(10:06 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 11 Dec 2018 07:18:37 +0000
(08:18 +0100)
The display power is in unbalance at removing the driver since it
misses the snd_hdac_display_power(OFF) call.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/hdac_hdmi.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/hdac_hdmi.c
b/sound/soc/codecs/hdac_hdmi.c
index
552ed19
..
6216e50
100644
(file)
--- a/
sound/soc/codecs/hdac_hdmi.c
+++ b/
sound/soc/codecs/hdac_hdmi.c
@@
-2059,6
+2059,8
@@
static int hdac_hdmi_dev_remove(struct hdac_device *hdev)
struct hdac_hdmi_port *port, *port_next;
int i;
+ snd_hdac_display_power(hdev->bus, hdev->addr, false);
+
list_for_each_entry_safe(pcm, pcm_next, &hdmi->pcm_list, head) {
pcm->cvt = NULL;
if (list_empty(&pcm->port_list))