Gustavo A. R. Silva f7ddff54d0
ASoC: nau8824: use 64-bit arithmetic instead of 32-bit
Add suffix ULL to constant 256 in order to give the compiler complete
information about the proper arithmetic to use.

Notice that such constant is used in a context that expects an
expression of type u64 (64 bits, unsigned) and the following
expression is currently being evaluated using 32-bit arithmetic:

256 * fs * 2 * mclk_src_scaling[i].param

Addresses-Coverity-ID: 1432039 ("Unintentional integer overflow")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-05 16:09:11 +01:00
..
2018-02-12 09:37:29 +00:00
2015-10-05 17:42:49 +01:00
2018-02-19 16:53:10 +00:00
2018-02-27 10:41:34 +00:00
2015-07-07 13:35:13 +01:00
2018-02-21 11:19:57 +00:00
2017-06-13 19:30:53 +01:00
2018-02-15 17:14:16 +00:00
2018-07-03 16:00:30 +01:00
2016-08-08 11:55:20 +01:00
2018-02-20 12:05:58 +00:00
2018-03-02 13:17:04 +00:00
2018-03-02 13:17:04 +00:00
2018-04-26 12:44:15 +01:00
2018-05-18 17:46:03 +01:00
2017-07-18 14:46:20 +01:00
2015-12-19 12:02:18 +00:00
2018-02-12 11:48:26 +00:00
2018-02-12 11:48:26 +00:00
2018-06-18 12:54:38 +01:00
2018-05-18 11:20:11 +01:00
2018-06-27 12:26:41 +01:00
2018-06-27 12:26:41 +01:00
2016-06-26 12:28:13 +01:00
2018-06-01 12:05:30 +01:00
2018-06-01 12:05:30 +01:00
2015-04-08 19:25:40 +01:00