[alsa-devel] [patch] ASoC: wm8903: harmless underflow in wm8903_put_deemph()

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Tue Oct 13 14:28:47 CEST 2015


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

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

Thanks,
Charles


More information about the Alsa-devel mailing list