aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-02-08 09:21:09 -0500
committerTakashi Iwai <tiwai@suse.de>2010-02-08 09:21:09 -0500
commitb99a776d0b17ae0f3a54e86009887a00ac4889d0 (patch)
tree83afdc00e04276673c29c5b5f14b404e1ea6dcf2 /sound/pci/hda
parentc21bd0254371c207636e84c9e033d13a6fe48d43 (diff)
ALSA: hda - Remove static gpio_led setup via model
We have now a better mute-LED GPIO detection, and no need to assign the values statically per model option. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_sigmatel.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index ea254235470d..ec0637e7d488 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5343,9 +5343,6 @@ again:
5343 5343
5344 codec->patch_ops = stac92xx_patch_ops; 5344 codec->patch_ops = stac92xx_patch_ops;
5345 5345
5346 if (spec->board_config == STAC_92HD83XXX_HP)
5347 spec->gpio_led = 0x01;
5348
5349 if (find_mute_led_gpio(codec)) 5346 if (find_mute_led_gpio(codec))
5350 snd_printd("mute LED gpio %d polarity %d\n", 5347 snd_printd("mute LED gpio %d polarity %d\n",
5351 spec->gpio_led, 5348 spec->gpio_led,
@@ -5673,7 +5670,6 @@ again:
5673 */ 5670 */
5674 spec->num_smuxes = 1; 5671 spec->num_smuxes = 1;
5675 spec->num_dmuxes = 1; 5672 spec->num_dmuxes = 1;
5676 spec->gpio_led = 0x01;
5677 /* fallthrough */ 5673 /* fallthrough */
5678 case STAC_HP_DV5: 5674 case STAC_HP_DV5:
5679 snd_hda_codec_set_pincfg(codec, 0x0d, 0x90170010); 5675 snd_hda_codec_set_pincfg(codec, 0x0d, 0x90170010);
@@ -5688,8 +5684,6 @@ again:
5688 spec->num_dmics = 1; 5684 spec->num_dmics = 1;
5689 spec->num_dmuxes = 1; 5685 spec->num_dmuxes = 1;
5690 spec->num_smuxes = 1; 5686 spec->num_smuxes = 1;
5691 /* orange/white mute led on GPIO3, orange=0, white=1 */
5692 spec->gpio_led = 0x08;
5693 break; 5687 break;
5694 } 5688 }
5695 5689