SRU LP 301738 - ALSA: hda: Add STAC_DELL_M4_3 quirk

Stefan Bader stefan.bader at canonical.com
Mon Nov 24 17:13:09 UTC 2008


Tim Gardner wrote:
> From cc65a1a9271cc09fcc9bc97fa327e5858130f42a Mon Sep 17 00:00:00 2001
> From: Tim Gardner <tim.gardner at canonical.com>
> Date: Mon, 24 Nov 2008 09:53:32 -0700
> Subject: [PATCH] UBUNTU: ALSA: hda: Add STAC_DELL_M4_3 quirk
>  OriginalAuthor: Matthew Ranostay <mranostay at embeddedalley.com>
>  Bug: #301738
> 
> Added STAC_DELL_M4_3 quirk for Dell systems, also reorganized the
> board config switch to assign number of digital muxes, microphones,
> and SPDIF muxes via the PCI quirk defined.
> 
> Backported from git://git.alsa-project.org/alsa-kernel.git
> commit 2e4eb76a3d2fd0682fe61f7990d7795050c07c7e
> which will eventually appear in mainline.
> 
> Signed-off-by: Matthew Ranostay <mranostay at embeddedalley.com>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
> Signed-off-by: Jaroslav Kysela <perex at perex.cz>
> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> ---
>  sound/pci/hda/patch_sigmatel.c |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
> index bbff2eb..df3ecb6 100644
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -75,6 +75,7 @@ enum {
>  	STAC_92HD71BXX_REF,
>  	STAC_DELL_M4_1,
>  	STAC_DELL_M4_2,
> +	STAC_DELL_M4_3,
>  	STAC_92HD71BXX_MODELS
>  };
>  
> @@ -1345,10 +1346,17 @@ static unsigned int dell_m4_2_pin_configs[10] = {
>  	0x40f000f0, 0x044413b0,
>  };
>  
> +static unsigned int dell_m4_3_pin_configs[11] = {
> +	0x0421101f, 0x04a11221, 0x90a70330, 0x90170110,
> +	0x40f000f0, 0x40f000f0, 0x40f000f0, 0x90a000f0,
> +	0x40f000f0, 0x044413b0, 0x044413b0,
> +};
> +
>  static unsigned int *stac92hd71bxx_brd_tbl[STAC_92HD71BXX_MODELS] = {
>  	[STAC_92HD71BXX_REF] = ref92hd71bxx_pin_configs,
>  	[STAC_DELL_M4_1]	= dell_m4_1_pin_configs,
>  	[STAC_DELL_M4_2]	= dell_m4_2_pin_configs,
> +	[STAC_DELL_M4_3]	= dell_m4_3_pin_configs,
>  };
>  
>  static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = {
> @@ -1383,6 +1391,8 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
>  				"unknown Dell", STAC_DELL_M4_2),
>  	SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0264,
>  				"unknown Dell", STAC_DELL_M4_2),
> +	SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02aa,
> +				"unknown Dell", STAC_DELL_M4_3),
>  	{} /* terminator */
>  };
>  
ACK

-- 

When all other means of communication fail, try words!






More information about the kernel-team mailing list