[ALSA] emu10k1 - Check value ranges in ctl callbacks
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Nov 2007 12:16:02 +0000 (13:16 +0100)
committerMercurial server <hg@alsa0.alsa-project.org>
Tue, 20 Nov 2007 19:03:39 +0000 (20:03 +0100)
commitaa299d01f1c2e680e40813b63f8dfb46c79ea715
tree7d8aa11cf32d807faa8d971029d7d174dab63c06
parent74415a36767d99d3adf31b4a62e4e50725e6b66a
[ALSA] emu10k1 - Check value ranges in ctl callbacks

Check value ranges in ctl callbacks properly.  This fixes the unexpected
crash due to wrong value assignment.
Also, remove invalid comments in the last patch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/emu10k1/emumixer.c
sound/pci/emu10k1/p16v.c