Home
last modified time | relevance | path

Searched hist:"6 b27e27729270a2478fdebea2db9c4f57bb4e8e6" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/stm/
H A Dstm32_sai_sub.cdiff 6b27e27729270a2478fdebea2db9c4f57bb4e8e6 Wed Oct 31 20:31:43 CET 2018 Colin Ian King <colin.king@canonical.com> ASoC: stm32: sai: fix less than zero comparison on unsigned int

Currently, the comparison of div < 0 is always false because div is
an unsigned int. Fix this by making div an int.

Detected by CoverityScan, CID#1475309 ("Unsigned compared against 0")

Fixes: 8307b2afd386 "(ASoC: stm32: sai: set sai as mclk clock provider")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>