commit | 931dfa6931448ccfd12d4ccd8d1d9289ceb92439 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 13 10:08:18 2015 +0300 |
committer | Mark Brown <broonie@kernel.org> | Thu Oct 22 13:54:13 2015 +0100 |
tree | 15e5684c4a4bd9f5373afbc0e5283bbf518e478d | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f [diff] |
ASoC: wm8904: harmless underflow in wm8904_put_deemph() We try to check that "deemph" is zero or one, but because of an underflow bug, it can also be negative. It's fine, negative values are handled as non-zero. But it's messy and static checkers complain so let's fix it. 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>