From: Takashi Iwai Date: Thu, 16 Feb 2012 15:38:07 +0000 (+0100) Subject: ALSA: hda/realtek - Fix overflow of vol/sw check bitmap X-Git-Tag: v3.2.9~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0da0c63e05b5f7de8298753d79304cd137351590;p=pandora-kernel.git ALSA: hda/realtek - Fix overflow of vol/sw check bitmap commit c14c95f62ecb8710af14ae0d48e01991b70bb6f4 upstream. The bitmap introduced in the commit [527e4d73: ALSA: hda/realtek - Fix missing volume controls with ALC260] is too narrow for some codecs, which may have more NIDs than 0x20, thus it may overflow the bitmap array on them. Just double the number to cover all and also add a sanity-check code to be safer. Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed