summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2021-12-23 17:27:02 +0800
committerJakub Kicinski <kuba@kernel.org>2021-12-23 09:56:06 -0800
commitb24edca309535c2d9af86aab95d64065f6ef1d26 (patch)
tree0ecbcf762f07bd810c7f84a8128a3a6209407180 /drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c
parent45bf944e6703d43fe5e285808312acd8a34c1a24 (diff)
r8152: sync ocp base
There are some chances that the actual base of hardware is different from the value recorded by driver, so we have to reset the variable of ocp_base to sync it. Set ocp_base to -1. Then, it would be updated and the new base would be set to the hardware next time. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c')
0 files changed, 0 insertions, 0 deletions