1 From: Takashi Iwai <tiwai@suse.de>
2 Subject: ALSA: hda - Check model type instead of SSID in patch_92hd71bxx()
6 Check board preset model instead of codec->subsystem_id in
7 patch_92hd71bxx() so that other hardwares configured via the model
8 option work like the given model.
10 Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 sound/pci/hda/patch_sigmatel.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 --- a/sound/pci/hda/patch_sigmatel.c
17 +++ b/sound/pci/hda/patch_sigmatel.c
18 @@ -4492,8 +4492,8 @@ again:
19 codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;
21 case 0x111d7608: /* 5 Port with Analog Mixer */
22 - switch (codec->subsystem_id) {
24 + switch (spec->board_config) {
26 /* Enable VREF power saving on GPIO1 detect */
27 snd_hda_codec_write(codec, codec->afg, 0,
28 AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK, 0x02);