diff options
author | 2024-02-01 14:46:01 +0100 | |
---|---|---|
committer | 2024-02-03 12:50:45 +0000 | |
commit | f203c8c77c7616c099647636f4c67d59a45fe8a2 (patch) | |
tree | a01b18cf0669e7bdc8bfb78c45300a6217c4b5b5 /lib/test_blackhole_dev.c | |
parent | net: phy: qcom: qca808x: fix logic error in LED brightness set (diff) | |
download | linux-rng-f203c8c77c7616c099647636f4c67d59a45fe8a2.tar.xz linux-rng-f203c8c77c7616c099647636f4c67d59a45fe8a2.zip |
net: phy: qcom: qca808x: default to LED active High if not set
qca808x PHY provide support for the led_polarity_set OP to configure
and apply the active-low property but on PHY reset, the Active High bit
is not set resulting in the LED driven as active-low.
To fix this, check if active-low is not set in DT and enable Active High
polarity by default to restore correct funcionality of the LED.
Fixes: 7196062b64ee ("net: phy: at803x: add LED support for qca808x")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_blackhole_dev.c')
0 files changed, 0 insertions, 0 deletions