[alsa-devel] [PATCH] ALSA: hda - Add missing hda_gen_spec to struct via_spec

Takashi Iwai tiwai at suse.de
Wed Oct 10 09:33:50 CEST 2012


At Wed, 10 Oct 2012 09:30:36 +0200,
David Henningsson wrote:
> 
> On 10/10/2012 09:26 AM, Takashi Iwai wrote:
> > The commit [4b527b65 ALSA: hda - limit internal mic boost for Asus
> > X202E] introduced the use of auto-parser code, but it forgot to add
> > struct hda_gen_spec at the head of codec->spec which the auto-parser
> > assumes silently.  Without this record, it may result in memory
> > corruption.
> >
> > This patch adds the missing piece.
> >
> > Cc: <stable at vger.kernel.org> [v3.5+]
> > Signed-off-by: Takashi Iwai <tiwai at suse.de>
> > ---
> >
> > David, I queued this fix now.  I'm going to send a pull request
> > tomorrow or on Friday.
> 
> Thanks for catching. Isn't patch_sigmatel.c missing one also?

No, patch_sigmatel.c doesn't use the generic fixup code yet.


Takashi


More information about the Alsa-devel mailing list