]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite895cb3780c8ea07ec8813293fc589d16d4483d5
treed2a204fe649c48560f6d290d6c3cc1fc68af4982
parentd90237bf3ac8f98cffa4971e8d134ca976700774
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