sound: vx222: fix input level control range check
authorClemens Ladisch <clemens@ladisch.de>
Mon, 24 Aug 2009 07:11:58 +0000 (09:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 Aug 2009 07:46:08 +0000 (09:46 +0200)
commitedd1365e90eb32625041d09de427d7b03461bc5c
treed2a204fe649c48560f6d290d6c3cc1fc68af4982
parent70bdbd3d1ae9c4ca3e84a43df34262face26575d
sound: vx222: fix input level control range check

Fix a logic error in the range check of the input level control that
would prevent setting any volume less than the maximum.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/vx222/vx222_ops.c