diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2021-04-21 10:58:01 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-04-28 17:45:26 +0200 |
commit | 98b8204626ac2837e927e79d3dfe77246e506c02 (patch) | |
tree | ab8ef24fcc5ea2b646e42fb48abb5e10257a0ad8 /tools/patman/func_test.py | |
parent | 79b0f08d6af498e6fda8cd257d62e2095764410c (diff) |
net: designware: fix PHY reset with DM_MDIO
The dw_eth_pdata is not accessible from the mdio device, it gets the mdio bus plat
leading to random sleeps (-10174464 on Odroid-HC4).
This moves the dw_mdio_reset function to a common one taking the ethernet
device as parameter and use it from the dw_mdio_reset and dm_mdio variant functions.
Fixes: 5160b4567c ("net: designware: add DM_MDIO support")
Reported-by: Mark Kettenis <mark.kettenis@xs4all.nl>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'tools/patman/func_test.py')
0 files changed, 0 insertions, 0 deletions