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-19 13:31:41 +01:00
2018-09-27 23:22:40 +01:00
2018-06-12 16:19:22 -07:00
2018-09-10 15:13:12 +01:00
2018-05-11 11:27:33 +09:00
2018-10-25 09:00:15 -07:00
2018-08-31 11:31:03 +01:00
2018-03-28 10:29:36 +08:00
2018-09-20 10:31:20 -07:00
2018-10-10 13:28:06 +01:00
2018-09-17 10:30:23 -07:00
2018-06-12 16:19:22 -07:00
2018-10-25 09:00:15 -07:00
2018-04-18 11:17:09 +01:00
2018-09-21 09:21:03 -07:00
2018-09-20 10:18:34 -07:00
2018-01-26 15:27:22 +00:00
2018-09-10 15:14:14 +01:00
2018-09-10 15:14:23 +01:00
2018-10-04 11:41:38 +01:00
2018-10-04 11:38:49 +01:00
2018-09-12 10:52:25 +01:00
2018-09-20 10:18:34 -07:00
2018-10-17 20:01:31 +01:00
2018-07-30 12:02:30 +01:00
2017-11-02 11:10:55 +01:00
2018-07-04 15:41:35 +01:00
2018-11-05 10:33:06 +00:00
2018-10-21 16:46:32 +01:00
2018-10-17 19:51:22 +01:00
2018-09-10 15:14:47 +01:00
2018-07-30 12:02:32 +01:00
2018-01-10 16:42:10 +00:00
2018-02-12 11:45:32 +00:00
2018-07-26 15:48:19 +01:00
2018-07-18 13:08:36 +01:00
2018-07-18 13:08:36 +01:00
2018-07-02 10:56:09 +01:00
2018-07-02 10:55:27 +01:00
2018-09-20 10:31:20 -07:00
2018-10-19 13:09:29 +01:00
2018-10-19 13:08:27 +01:00
2018-07-02 10:55:22 +01:00
2018-08-18 15:55:59 -07:00
2018-07-02 10:53:55 +01:00
2018-07-02 10:55:12 +01:00
2018-09-11 11:58:52 +01:00
2018-09-20 10:31:20 -07:00
2018-10-05 12:38:22 +01:00
2018-09-27 23:15:46 +01:00