Colin Ian King 6b27e27729 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>
2018-11-05 10:33:06 +00:00
..
2018-10-25 09:00:15 -07:00
2018-09-20 10:31:20 -07:00
2018-10-25 09:00:15 -07:00
2018-10-17 20:01:31 +01:00
2018-01-10 16:42:10 +00:00
2018-07-18 13:08:36 +01:00
2018-07-18 13:08:36 +01:00
2018-09-20 10:31:20 -07:00