Re: [PATCH] Fix "alc262_sony_unsol[]" hda_verb array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 9 Jun 2008 22:46:07 +0900,
idak wrote:
> 
> I think that hda_verb array must have "terminator (empty array)".
> But alc262_sony_unsol[] does not have it.
> And it causes gcc-4.3's buggy behavior
> with snd_hda_sequence_write().
> 
> Signed-off-by: Akio Idehara <zbe64533@xxxxxxxxx>

Ouch, it was obviously overlooked...
I took both patches, and try to push this one to the upstream.


thanks,

Takashi

> ---
>  sound/pci/hda/patch_realtek.c |    1 +
>  1 file changed, 1 insertion(+)
> --- a/sound/pci/hda/patch_realtek.c	2008-06-08 19:23:57.000000000 +0900
> +++ b/sound/pci/hda/patch_realtek.c	2008-06-08 19:42:19.000000000 +0900
> @@ -8839,6 +8839,7 @@ static struct hda_verb alc262_sony_unsol
> 
>  	{0x15, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | ALC880_HP_EVENT},
>  	{0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_HP},
> +	{}
>  };
> 
>  /* mute/unmute internal speaker according to the hp jack and mute state */
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@xxxxxxxxxxxxxxxx
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux