summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai2013-11-26 11:58:40 +0100
committerTakashi Iwai2013-11-26 13:40:14 +0100
commit873ce8ad502cce3ba9295890d52afcce385d4107 (patch)
tree8fd73b474402cc182e1b7afecf77b9dadd51a4ec /sound/pci/hda/patch_sigmatel.c
parentALSA: hda/realtek - Set pcbeep amp for ALC668 (diff)
downloadkernel-qcow2-linux-873ce8ad502cce3ba9295890d52afcce385d4107.tar.gz
kernel-qcow2-linux-873ce8ad502cce3ba9295890d52afcce385d4107.tar.xz
kernel-qcow2-linux-873ce8ad502cce3ba9295890d52afcce385d4107.zip
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 d2cc0041d9d3..088a5afbd1b9 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;
}
}