[ALSA] ca0106 - Check value range in ctl callbacks
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Nov 2007 13:42:34 +0000 (14:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 Nov 2007 17:41:30 +0000 (18:41 +0100)
Check the value ranges in ctl put callbacks properly.
Some callbacks may access a wrong pointer depending on the value passed.
Also, fixed the access to the wrong field for enum values, and fixed
some callbacks to return the proper error code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found