summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Chin <Charles.Chin@idt.com>2011-11-02 07:53:30 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:44:02 -0800
commit18bee4881f3efef0dd9cb108639a5fa40c3c6521 (patch)
tree171e087f40b61935875bd5f34b162a0e4e97cc1d
parent427d615a29d6d629c843f2e0756a0cacd3844f22 (diff)
downloadlwn-18bee4881f3efef0dd9cb108639a5fa40c3c6521.tar.gz
lwn-18bee4881f3efef0dd9cb108639a5fa40c3c6521.zip
ALSA: hda - Disable power-widget control for IDT 92HD83/93 as default
commit 35c11777b906042eca9e6f1c03e464726c7faa07 upstream. The power-widget control in patch_stac92hd83xxx() never worked properly, thus it's safer to turn it off as default for now. Signed-off-by: Charles Chin <Charles.Chin@idt.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--sound/pci/hda/patch_sigmatel.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 98203496bb8a..4df34e1198b8 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5625,26 +5625,8 @@ again:
stac92xx_set_config_regs(codec,
stac92hd83xxx_brd_tbl[spec->board_config]);
- switch (codec->vendor_id) {
- case 0x111d76d1:
- case 0x111d76d9:
- case 0x111d76df:
- case 0x111d76e5:
- case 0x111d7666:
- case 0x111d7667:
- case 0x111d7668:
- case 0x111d7669:
- case 0x111d76e3:
- case 0x111d7604:
- case 0x111d76d4:
- case 0x111d7605:
- case 0x111d76d5:
- case 0x111d76e7:
- if (spec->board_config == STAC_92HD83XXX_PWR_REF)
- break;
+ if (spec->board_config != STAC_92HD83XXX_PWR_REF)
spec->num_pwrs = 0;
- break;
- }
codec->patch_ops = stac92xx_patch_ops;