linux/drivers/net/phy/aquantia
Daniel Golle 6f9defaf99 net: phy: aquantia: fix applying active_low bit after reset
for_each_set_bit was used wrongly in aqr107_config_init() when iterating
over LEDs. Drop misleading 'index' variable and call
aqr_phy_led_active_low_set() for each set bit representing an LED which
is driven by VDD instead of GND pin.

Fixes: 61578f6793 ("net: phy: aquantia: add support for PHY LEDs")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/9b1f0cd91f4cda54c8be56b4fe780480baf4aa0f.1726580902.git.daniel@makrotopia.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-09-24 10:55:07 +02:00
..
aquantia_firmware.c net: phy: aquantia: fix -ETIMEDOUT PHY probe failure when firmware not present 2024-09-19 12:33:24 +02:00
aquantia_hwmon.c
aquantia_leds.c net: phy: aquantia: fix setting active_low bit 2024-09-24 10:55:07 +02:00
aquantia_main.c net: phy: aquantia: fix applying active_low bit after reset 2024-09-24 10:55:07 +02:00
aquantia.h net: phy: aquantia: rename and export aqr107_wait_reset_complete() 2024-07-10 04:57:27 +01:00
Kconfig net: phy: aquantia: switch to crc_itu_t() 2024-01-04 13:14:31 -08:00
Makefile net: phy: aquantia: add support for PHY LEDs 2024-06-05 10:21:31 +01:00