]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Limit the amp value to write
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Jul 2010 16:40:37 +0000 (18:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jul 2010 08:08:57 +0000 (10:08 +0200)
commit810a5efea6c082b04407ebd257ba70a2cad9a17f
tree120a3b7622bcea7d3a3fea40a3b76fff2680d8ab
parent13b2f76ff316c9fa2dbfb5351a663c333d4eedf0
ALSA: hda - Limit the amp value to write

Check the amp max value at put callbacks and set the upper limit
so that the driver won't write any invalid value over the defined
range.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c