Skip to content

Commit

Permalink
ALSA: hda - Disable power-widget control for IDT 92HD83/93 as default
Browse files Browse the repository at this point in the history
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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Charles Chin authored and Takashi Iwai committed Nov 2, 2011
1 parent 08a1f5e commit 35c1177
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5629,26 +5629,8 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
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;

Expand Down

0 comments on commit 35c1177

Please sign in to comment.