]> git.baikalelectronics.ru Git - uboot.git/commit
net: gmac_rockchip: Fix a register write in rk3328_gmac_set_to_rgmii
authorJanine Hagemann <j.hagemann@phytec.de>
Tue, 28 Aug 2018 06:25:04 +0000 (08:25 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 4 Oct 2018 19:15:46 +0000 (21:15 +0200)
commit258b570dcbc4fc0cb2e239dd911235ea51a53dd7
tree8cc40766b5b55506b386e6f39fefeab9a3703ab5
parent915f6701492977cf1e6ec5df80d48754c50ffeed
net: gmac_rockchip: Fix a register write in rk3328_gmac_set_to_rgmii

We have to use RK3328_RXCLK_DLY_ENA_GMAC_ENABLE instead of
RK3328_RXCLK_DLY_ENA_GMAC_MASK in rk3328_gmac_set_to_rgmii()
to enable the RX delay.
The MASK was used in a wrong way.

Signed-off-by: Janine Hagemann <j.hagemann@phytec.de>
Reviewed-by: Philipp Tomisch <philipp.tomisch@theobroma-systems.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/gmac_rockchip.c