diff options
author | Andrew Lunn <andrew@lunn.ch> | 2024-12-15 20:43:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-12-18 15:46:45 +0300 |
commit | 5a49edec44f638952da8dc8d754e76f462c19034 (patch) | |
tree | d8c4df30de9b3c7b2281ef75aeb7917734192217 /drivers/pwm/pwm-stm32.c | |
parent | 2b9da35f48a552c158a8965a61f36a1aa62fca34 (diff) | |
download | linux-5a49edec44f638952da8dc8d754e76f462c19034.tar.xz |
net: dsa: qca8k: Fix inconsistent use of jiffies vs milliseconds
wait_for_complete_timeout() expects a timeout in jiffies. With the
driver, some call sites converted QCA8K_ETHERNET_TIMEOUT to jiffies,
others did not. Make the code consistent by changes the #define to
include a call to msecs_to_jiffies, and remove all other calls to
msecs_to_jiffies.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: from Christian would be very welcome.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions