summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2024-02-12 12:35:58 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2024-02-12 13:25:45 +0100
commit6497cdba09d6faa04a4f74465ed95ae21e2ff1ff (patch)
treed845be0516fdf98dd99e578ee5d7bc7327b04909 /include
parent4a3f430d726e0713f4936844f26ccaf5077ef881 (diff)
downloadopenwrt-6497cdba09d6faa04a4f74465ed95ae21e2ff1ff.tar.gz
openwrt-6497cdba09d6faa04a4f74465ed95ae21e2ff1ff.tar.bz2
openwrt-6497cdba09d6faa04a4f74465ed95ae21e2ff1ff.zip
generic: 6.1: fixup QCA807x upstream PHY
Currently, we are checking whether the PHY package mode matches the individual PHY interface modes at PHY package probe time, but at that time we only know the PHY package mode and not the individual PHY interface modes as of_get_phy_mode() that populates it will only get called once the netdev to which PHY-s are attached to is being probed and thus this check will always fail and return -EINVAL. So, lets move this check to .config_init_once as at that point individual PHY interface modes should be populated. Fixes: 16364e410039 ("generic: 6.1: backport QCA807x PHY patches") Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions