]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | From: Takashi Iwai <tiwai@suse.de> |
2 | Subject: ALSA: hda - Check model type instead of SSID in patch_92hd71bxx() | |
3 | Patch-mainline: | |
4 | References: bnc#444349 | |
5 | ||
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. | |
9 | ||
10 | Signed-off-by: Takashi Iwai <tiwai@suse.de> | |
11 | ||
12 | --- | |
13 | sound/pci/hda/patch_sigmatel.c | 4 ++-- | |
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
15 | ||
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; | |
20 | break; | |
21 | case 0x111d7608: /* 5 Port with Analog Mixer */ | |
22 | - switch (codec->subsystem_id) { | |
23 | - case 0x103c361a: | |
24 | + switch (spec->board_config) { | |
25 | + case STAC_HP_M4: | |
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); |