diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-11-15 13:28:54 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-15 13:28:54 -0500 |
commit | 8e5f262bfcd90c041160a491a238661ebbb584a4 (patch) | |
tree | def3063b8208808c2c73e991cf5706fe12686b04 /sound/pci | |
parent | c39555d6edd0142972f577405d5259879ecc1635 (diff) |
ALSA: hda - Check model type instead of SSID in patch_92hd71bxx()
Check board preset model instead of codec->subsystem_id in
patch_92hd71bxx() so that other hardwares configured via the model
option work like the given model.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index f205570def1c..0df6f979f2a3 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4488,8 +4488,8 @@ again: | |||
4488 | codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs; | 4488 | codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs; |
4489 | break; | 4489 | break; |
4490 | case 0x111d7608: /* 5 Port with Analog Mixer */ | 4490 | case 0x111d7608: /* 5 Port with Analog Mixer */ |
4491 | switch (codec->subsystem_id) { | 4491 | switch (spec->board_config) { |
4492 | case 0x103c361a: | 4492 | case STAC_HP_M4: |
4493 | /* Enable VREF power saving on GPIO1 detect */ | 4493 | /* Enable VREF power saving on GPIO1 detect */ |
4494 | snd_hda_codec_write(codec, codec->afg, 0, | 4494 | snd_hda_codec_write(codec, codec->afg, 0, |
4495 | AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK, 0x02); | 4495 | AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK, 0x02); |