]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: wm2000: a couple harmless underflows
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 13 Oct 2015 07:12:45 +0000 (10:12 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 22 Oct 2015 12:59:11 +0000 (13:59 +0100)
commit8444f59fd7bd8aa079609e575c0688669b85bfcc
tree2bea044d2850a0b0cf69c2c0b2cdf9e0eb37201f
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
ASoC: wm2000: a couple harmless underflows

We want these to be zero or one, but by mistake we also accept negative
values.  It's harmless but we should still clean it up.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm2000.c