diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2022-03-03 08:54:15 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-04 21:03:45 -0800 |
commit | a502a8f04097e038c3daa16c5202a9538116d563 (patch) | |
tree | 8ad3b8847862969ec633bbeab98f0b5835eab8d0 /drivers/devfreq | |
parent | be4977b847f5d5cedb64d50eaaf2218c3a55a3a3 (diff) | |
download | linux-a502a8f04097e038c3daa16c5202a9538116d563.tar.bz2 |
net: phy: meson-gxl: fix interrupt handling in forced mode
This PHY doesn't support a link-up interrupt source. If aneg is enabled
we use the "aneg complete" interrupt for this purpose, but if aneg is
disabled link-up isn't signaled currently.
According to a vendor driver there's an additional "energy detect"
interrupt source that can be used to signal link-up if aneg is disabled.
We can safely ignore this interrupt source if aneg is enabled.
This patch was tested on a TX3 Mini TV box with S905W (even though
boot message says it's a S905D).
This issue has been existing longer, but due to changes in phylib and
the driver the patch applies only from the commit marked as fixed.
Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/04cac530-ea1b-850e-6cfa-144a55c4d75d@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions