]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-sigmatel-hp-m4-check-fix
Move xen patchset to new version's subdir.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-hda-sigmatel-hp-m4-check-fix
CommitLineData
00e5a55c
BS
1From: Takashi Iwai <tiwai@suse.de>
2Subject: ALSA: hda - Check model type instead of SSID in patch_92hd71bxx()
3Patch-mainline:
4References: bnc#444349
5
6Check board preset model instead of codec->subsystem_id in
7patch_92hd71bxx() so that other hardwares configured via the model
8option work like the given model.
9
10Signed-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);