diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-10-13 10:10:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-22 15:57:19 +0300 |
commit | 4d0197a5cad29ee58593eceac85cbb712430cd89 (patch) | |
tree | 7001c2f25c954932ad13e0804bec826d903cf242 /sound/soc/au1x/psc-i2s.c | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | linux-4d0197a5cad29ee58593eceac85cbb712430cd89.tar.xz |
ASoC: wm8903: harmless underflow in wm8903_put_deemph()
Valid values for "deemph" are zero and one, but we accidentally allow
negative values as well. It's harmless, but static checkers complain
and we may as well 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>
Diffstat (limited to 'sound/soc/au1x/psc-i2s.c')
0 files changed, 0 insertions, 0 deletions