r8152: sync ocp base
authorHayes Wang <hayeswang@realtek.com>
Thu, 23 Dec 2021 09:27:02 +0000 (17:27 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Dec 2021 17:56:06 +0000 (09:56 -0800)
commitb24edca309535c2d9af86aab95d64065f6ef1d26
tree0ecbcf762f07bd810c7f84a8128a3a6209407180
parent45bf944e6703d43fe5e285808312acd8a34c1a24
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>
drivers/net/usb/r8152.c