ALSA: line6: Clamp values correctly
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Mar 2015 12:03:28 +0000 (13:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Mar 2015 12:03:28 +0000 (13:03 +0100)
commitf44f07cf3910f84b15b2a78c4933d5946bf409cf
tree2c6fdb326267aca7379e5ad2667a7cb3f48318a5
parent096a020a9ef5c947577d3b57199bfc9b7e686b49
ALSA: line6: Clamp values correctly

The usages of clamp() macro in sound/usb/line6/playback.c are just
wrong, the low and high values are swapped.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/playback.c