r8152: reset the bmu
authorhayeswang <hayeswang@realtek.com>
Thu, 16 Jun 2016 02:55:18 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jun 2016 06:39:18 +0000 (23:39 -0700)
commit93fe9b1838404fcc3bea320b704bfa461d8e57a6
tree1adbe1993eb0cf3a770f4f3074a8d8bd162d30b1
parent4e384ac19b5be6ad084b215d298b82b3a91ad24b
r8152: reset the bmu

Reset the BMU to clear the rx/tx fifo. This avoids that the unexpected
data remains in the hw.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c