[ALSA] emu10k1 - Check value ranges in ctl callbacks
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Nov 2007 12:16:02 +0000 (13:16 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:24 +0000 (17:29 +0100)
commit7e39e2273a9b8182ed1b21af5444e29843fc06ca
treef7c1c1d32e536fd6466b4fcc3f9df10e51f97e87
parent44d0a879951a90a4eb463fb1d3b91942f97f36ca
[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