summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_via.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-02-16 15:38:07 (GMT)
committerTakashi Iwai <tiwai@suse.de>2012-02-16 15:39:14 (GMT)
commitc14c95f62ecb8710af14ae0d48e01991b70bb6f4 (patch)
tree4c76b1d76cbb9dac76662a92b172a22e3a6b04f3 /sound/pci/hda/patch_via.c
parent8866f405efd4171f9d9c91901d2dd02f01bacb60 (diff)
downloadlinux-fsl-qoriq-c14c95f62ecb8710af14ae0d48e01991b70bb6f4.tar.xz
ALSA: hda/realtek - Fix overflow of vol/sw check bitmap
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. Cc: <stable@kernel.org> [v3.2+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
0 files changed, 0 insertions, 0 deletions