ALSA: hda - Add missing hda_gen_spec to struct via_spec
authorTakashi Iwai <[email protected]>
Wed, 10 Oct 2012 06:41:42 +0000 (08:41 +0200)
committerTakashi Iwai <[email protected]>
Wed, 10 Oct 2012 07:23:10 +0000 (09:23 +0200)
commit7819d1c70eb6a57e43554d86e10b39d1e106ed65
treea07423d7b477f21957360877de9d929138c4bf4a
parent8d032a8f653a71e309fc4be28f526a0d2a5bf8f4
ALSA: hda - Add missing hda_gen_spec to struct via_spec

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: <[email protected]> [v3.5+]
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/patch_via.c