diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-10-13 10:08:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-22 13:54:13 +0100 |
commit | 931dfa6931448ccfd12d4ccd8d1d9289ceb92439 (patch) | |
tree | 15e5684c4a4bd9f5373afbc0e5283bbf518e478d /mm/swap.c | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | linux-931dfa6931448ccfd12d4ccd8d1d9289ceb92439.tar.bz2 |
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions