[alsa-devel] [patch] ASoC: wm8904: harmless underflow in wm8904_put_deemph()

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Tue Oct 13 14:27:11 CEST 2015


On Tue, Oct 13, 2015 at 10:08:18AM +0300, Dan Carpenter wrote:
> 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 at oracle.com>

Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

Thanks,
Charles


More information about the Alsa-devel mailing list