Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35c11777 authored by Charles Chin's avatar Charles Chin Committed by Takashi Iwai
Browse files

ALSA: hda - Disable power-widget control for IDT 92HD83/93 as default



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: default avatarCharles Chin <Charles.Chin@idt.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 08a1f5eb
Loading
Loading
Loading
Loading
+1 −19
Original line number Diff line number Diff line
@@ -5629,26 +5629,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;