diff options
| author | Andrew Lunn <[email protected]> | 2024-12-15 17:43:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-12-18 12:46:45 +0000 |
| commit | 5a49edec44f638952da8dc8d754e76f462c19034 (patch) | |
| tree | d8c4df30de9b3c7b2281ef75aeb7917734192217 /drivers/pwm/pwm-stm32.c | |
| parent | Merge branch 'support-some-features-for-the-hibmcge-driver' (diff) | |
| download | kernel-5a49edec44f638952da8dc8d754e76f462c19034.tar.gz kernel-5a49edec44f638952da8dc8d754e76f462c19034.zip | |
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 <[email protected]>
Tested-by: from Christian would be very welcome.
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions
