Home
last modified time | relevance | path

Searched hist:"523 bade22428d4c6742dd7bfb4c0259a23bb9ec3" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/codecs/
H A Dwm8731.cdiff 523bade22428d4c6742dd7bfb4c0259a23bb9ec3 Tue Oct 13 09:08:57 CEST 2015 Dan Carpenter <dan.carpenter@oracle.com> 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>