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)
commitafbd9b8448f4b7d15673c6858012f384f18d28b8
tree120a3b7622bcea7d3a3fea40a3b76fff2680d8ab
parent3507e2a8f171f4322bf78f9d618a4e435de843ce
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