]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Add missing hda_gen_spec to struct via_spec
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Oct 2012 06:41:42 +0000 (08:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Oct 2012 16:32:38 +0000 (09:32 -0700)
commitad505f023d46dd51a3c5344e395b703ede9cd0a4
treead251be4524296cb8d884f7f068f315fbb24db67
parentc347faa6f02f368679661b4fe475625c58a077d7
ALSA: hda - Add missing hda_gen_spec to struct via_spec

commit 7819d1c70eb6a57e43554d86e10b39d1e106ed65 upstream.

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_via.c