summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-26 11:58:40 +0100
committerTakashi Iwai <tiwai@suse.de>2013-11-26 13:40:14 +0100
commit873ce8ad502cce3ba9295890d52afcce385d4107 (patch)
tree8fd73b474402cc182e1b7afecf77b9dadd51a4ec /sound/pci/hda/patch_sigmatel.c
parent9ad54547cf6f4410eba83bb95dfd2a0966718d6d (diff)
downloadop-kernel-dev-873ce8ad502cce3ba9295890d52afcce385d4107.zip
op-kernel-dev-873ce8ad502cce3ba9295890d52afcce385d4107.tar.gz
ALSA: hda - Drop bus->avoid_link_reset flag
Use bus->power_keep_link_on instead. The controller shouldn't go to D3 when the link isn't reset, so essentially avoiding the link reset means avoiding the runtime PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index d2cc004..088a5af 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -2094,7 +2094,8 @@ static void stac92hd83xxx_fixup_hp_mic_led(struct hda_codec *codec,
if (action == HDA_FIXUP_ACT_PRE_PROBE) {
spec->mic_mute_led_gpio = 0x08; /* GPIO3 */
- codec->bus->avoid_link_reset = 1;
+ /* resetting controller clears GPIO, so we need to keep on */
+ codec->bus->power_keep_link_on = 1;
}
}
OpenPOWER on IntegriCloud