]> git.dujemihanovic.xyz Git - u-boot.git/commit
eth/r8152: reset bmu after disabling Tx/Rx
authorHayes Wang <hayeswang@realtek.com>
Tue, 16 Jun 2020 09:09:44 +0000 (17:09 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 1 Sep 2020 12:47:36 +0000 (14:47 +0200)
commitd74a76234f1bbbb9c6266ebe55ce53be99a6df19
tree5c33cad5161f198e86d4eb8fd7de7b8b9e43867a
parent23e333a5c083a000d0cabc53f7c0d261bae9e5ca
eth/r8152: reset bmu after disabling Tx/Rx

Reset bmu after disabling Tx/Rx. This is used to clear the FIFO of
Tx/Rx. The remained data may be transferred after Tx/Rx is re-enabled.
And it results in garbage data.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
drivers/usb/eth/r8152.c
drivers/usb/eth/r8152.h