commit | 523bade22428d4c6742dd7bfb4c0259a23bb9ec3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 13 10:08:57 2015 +0300 |
committer | Mark Brown <broonie@kernel.org> | Thu Oct 22 13:55:23 2015 +0100 |
tree | 84aa6e771e4617a27ecbe6612c56f40bb9349907 | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f [diff] |
ASoC: wm8731: harmless underflow in wm8731_put_deemph() The code tries to verify that "deemph" is zero or one, but it fails to account for that it can be negative. It's harmless because negatives are treated the same as one, but we should fix it just to silence the static checker warning. 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>