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

David Henningsson david.henningsson at canonical.com
Wed Oct 10 09:30:36 CEST 2012


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?


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the Alsa-devel mailing list