Re: [PATCH] net: sh_eth: fix mdio access in sh_eth_close() for some SoCs

2019-05-15 Thread Sergei Shtylyov
Hello! It's not "some SoCs", it's only R-Car gen2 and RZ/G1 SoCs. On 05/15/2019 08:36 AM, Yoshihiro Shimoda wrote: > The sh_eth_close() resets the MAC and then calls phy_stop() > so that mdio read access result is incorrect without any error > according to kernel trace like below: > > ifconf

[PATCH] net: sh_eth: fix mdio access in sh_eth_close() for some SoCs

2019-05-14 Thread Yoshihiro Shimoda
The sh_eth_close() resets the MAC and then calls phy_stop() so that mdio read access result is incorrect without any error according to kernel trace like below: ifconfig-216 [003] .n.. 109.133124: mdio_access: ee70.ethernet- read phy:0x01 reg:0x00 val:0x To fix the issue, th