linux-next/drivers/net/dsa/qca
Andrew Lunn 5a49edec44 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>
2024-12-18 12:46:45 +00:00
..
ar9331.c net: dsa: ar9331: constify struct regmap_bus 2024-07-05 17:02:20 -07:00
Kconfig net: dsa: qca8k: add CONFIG_LEDS_TRIGGERS dependency 2023-06-02 10:55:41 +01:00
Makefile net: dsa: qca8k: add LEDs basic support 2023-04-19 12:59:15 +01:00
qca8k_leds.h net: dsa: qca8k: add LEDs basic support 2023-04-19 12:59:15 +01:00
qca8k-8xxx.c net: dsa: qca8k: Fix inconsistent use of jiffies vs milliseconds 2024-12-18 12:46:45 +00:00
qca8k-common.c net: dsa: qca8k: add support for bridge port isolation 2024-06-21 12:22:59 +01:00
qca8k-leds.c net dsa: qca8k: fix usages of device_get_named_child_node() 2024-06-10 13:12:14 +01:00
qca8k.h net: dsa: qca8k: Fix inconsistent use of jiffies vs milliseconds 2024-12-18 12:46:45 +00:00