• Takashi Iwai's avatar
    ALSA: hda - Add missing hda_gen_spec to struct via_spec · 7819d1c7
    Takashi Iwai authored
    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@vger.kernel.org> [v3.5+]
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    7819d1c7
patch_via.c 104 KB