Re: [alsa-devel] [PATCH] ALSA: hda - initialize audio InfoFrame to be all zero

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

 



At Tue, 22 Jul 2014 08:52:31 +0200,
David Henningsson wrote:
> 
> Hi,
> 
> It looks like this patch should have been sent to stable, is there any 
> reason why it wasn't?

Just forgotten, I suppose.  This should be included in stable, indeed.

Greg, could you cherry-pick this upstream commit
caaf5ef9493f72390905f1e97b310b8906d32dac
   ALSA: hda - initialize audio InfoFrame to be all zero

to stable kernels?


thanks,

Takashi


> 
> On 2014-03-11 22:12, mengdong.lin@xxxxxxxxx wrote:
> > From: Mengdong Lin <mengdong.lin@xxxxxxxxx>
> >
> > This patch initialized the local audio InfoFrame variable 'ai' to be all zero,
> > thus the data bytes will indicate "Refer to Stream Header" by default.
> >
> > Signed-off-by: Mengdong Lin <mengdong.lin@xxxxxxxxx>
> >
> > diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
> > index 5ef9503..3ab7063 100644
> > --- a/sound/pci/hda/patch_hdmi.c
> > +++ b/sound/pci/hda/patch_hdmi.c
> > @@ -1062,6 +1062,7 @@ static void hdmi_pin_setup_infoframe(struct hda_codec *codec,
> >   {
> >   	union audio_infoframe ai;
> >
> > +	memset(&ai, 0, sizeof(ai));
> >   	if (conn_type == 0) { /* HDMI */
> >   		struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi;
> >
> >
> 
> -- 
> David Henningsson, Canonical Ltd.
> https://launchpad.net/~diwic
> 
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]