summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2024-12-15 20:43:55 +0300
committerDavid S. Miller <davem@davemloft.net>2024-12-18 15:46:45 +0300
commit5a49edec44f638952da8dc8d754e76f462c19034 (patch)
treed8c4df30de9b3c7b2281ef75aeb7917734192217 /drivers/pwm/pwm-stm32.c
parent2b9da35f48a552c158a8965a61f36a1aa62fca34 (diff)
downloadlinux-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