[alsa-devel] [PATCH] ALSA: hda - Add missing terminators in patch_sigmatel.c

Takashi Iwai tiwai at suse.de
Wed Dec 24 11:10:05 CET 2008


At Tue, 23 Dec 2008 16:53:00 -0200,
Herton Ronaldo Krzesinski wrote:
> 
> Signed-off-by: Herton Ronaldo Krzesinski <herton at mandriva.com.br>

Oops, that's a shame.  Applied and sent a pull request now.
Thanks.


Takashi

> 
> diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
> index 71d3a77..35b83dc 100644
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -841,6 +841,7 @@ static struct hda_verb stac92hd83xxx_core_init[] = {
>  
>  	/* power state controls amps */
>  	{ 0x01, AC_VERB_SET_EAPD, 1 << 2},
> +	{}
>  };
>  
>  static struct hda_verb stac92hd71bxx_core_init[] = {
> @@ -850,6 +851,7 @@ static struct hda_verb stac92hd71bxx_core_init[] = {
>  	{ 0x0a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
>  	{ 0x0d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
>  	{ 0x0f, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
> +	{}
>  };
>  
>  #define HD_DISABLE_PORTF 2
> @@ -1681,6 +1683,7 @@ static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {
>  	/* SigmaTel reference board */
>  	SND_PCI_QUIRK(PCI_VENDOR_ID_INTEL, 0x2668,
>  		      "DFI LanParty", STAC_92HD71BXX_REF),
> +	{} /* terminator */
>  };
>  
>  static unsigned int ref92hd71bxx_pin_configs[11] = {
> 


More information about the Alsa-devel mailing list