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:
parent
2fb87b9dd2
commit
21358baa72
60 changed files with 107 additions and 106 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue