diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-12-11 13:15:11 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-11 14:06:18 +0100 |
commit | 0287d970652027d5e299e0215578f228660a0e4e (patch) | |
tree | 9147b88351f901747fb25e8f7a396e1afd4b0a2b /sound/pci/hda/hda_intel.c | |
parent | ALSA: intelhdmi - add channel mapping for typical configurations (diff) | |
download | linux-0287d970652027d5e299e0215578f228660a0e4e.tar.xz linux-0287d970652027d5e299e0215578f228660a0e4e.zip |
intelhdmi - dont power off HDA link
For codecs without EPSS support (G45/IbexPeak), the hotplug event will
be lost if the HDA is powered off during the time. After that the pin
presence detection verb returns inaccurate info.
So always power-on HDA link for !EPSS codecs.
KarL offers the fact and Takashi recommends to flag hda_bus. Thanks!
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index efcc4f7c57f2..e54420e691ae 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2082,7 +2082,8 @@ static void azx_power_notify(struct hda_bus *bus) } if (power_on) azx_init_chip(chip); - else if (chip->running && power_save_controller) + else if (chip->running && power_save_controller && + !bus->power_keep_link_on) azx_stop_chip(chip); } #endif /* CONFIG_SND_HDA_POWER_SAVE */ |