]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Oct 2012 07:23:10 +0000 (09:23 +0200)
commitc83fa62f0c3bcb15ee2439dbdf8572c65b25a859
treea07423d7b477f21957360877de9d929138c4bf4a
parentcea16e8f1f62c80e93cfaa5f780b0f5c5c1265aa
ALSA: hda - Add missing hda_gen_spec to struct via_spec

The commit [de4f360e 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@vger.kernel.org> [v3.5+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c