all: Update unsigend 'U' suffix due to multiplication

As the multiplication rule is updated, new unsigned suffixes
are added in the code.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2019-03-28 14:57:54 -06:00 committed by Kumar Gala
commit 21358baa72
60 changed files with 107 additions and 106 deletions

View file

@ -172,7 +172,7 @@ static int pl011_set_baudrate(struct device *dev,
{
/* Avoiding float calculations, bauddiv is left shifted by 6 */
u64_t bauddiv = (((u64_t)clk) << PL011_FBRD_WIDTH)
/ (16 * baudrate);
/ (baudrate * 16U);
/* Valid bauddiv value
* uart_clk (min) >= 16 x baud_rate (max)