hda: STAC9228 DMIC
PATCH 1/1 hda: STAC9228 DMIC
Added support for the dmics and enabled EAPD for several laptops with STAC9228 cards.
---
pci/hda/patch_sigmatel.c +10 -3
@@ -2778,14 +2778,21 @@ static int patch_stac927x(struct hda_cod spec->dmic_nids = stac927x_dmic_nids; spec->num_dmics =STAC927X_NUM_DMICS ; spec->dmux_nid =0x1b ; + +/* Enable DMIC0 */ +stac92xx_set_config_reg (codec,0x13 ,0x90a60040 ); + +/* GPIO2 High = Enable EAPD */ + spec->gpio_mask = spec->gpio_data =0x00000004 ;break ;default : - spec->num_dmics =0 ; + spec->num_dmics =0 ; + +/* GPIO0 High = Enable EAPD */ + spec->gpio_mask = spec->gpio_data =0x00000001 ; } spec->multiout.dac_nids = spec->dac_nids; -/* GPIO0 High = Enable EAPD */ - spec->gpio_mask = spec->gpio_data =0x00000001 ;stac92xx_enable_gpio_mask (codec); err =stac92xx_parse_auto_config (codec,0x1e ,0x20 );
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 10 lines · Matthew Ranostay
Added support for the dmics and enabled EAPD for several laptops with STAC9228 cards.
---Signed-off-by Matthew Ranostay <[email protected]>------------------------------------------------------------------------
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
ACK on this patch. It enables the Dell XPS 1330 built-in digital microphone. External speakers still work, though I have not tested for regressions such as headphone jack sensing.
Signature · 1 line
Tim Gardner [email protected]
Takashi Iwai
AppliedAt Thu, 01 Nov 2007 16:51:00 -0400,
Quoted 6 lines · Matthew Ranostay
[1 <text/plain; ISO-8859-1 (7bit)>]
Added support for the dmics and enabled EAPD for several laptops with STAC9228 cards.
---Signed-off-by Matthew Ranostay <[email protected]>
Thanks, applied to HG tree now.
Takashi