]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: zynq_gem: Fix return type for phy...()
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jun 2018 08:00:30 +0000 (10:00 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:17 +0000 (13:54 -0500)
commitb33d4a5fc7d2c67d11d936351c05856f0696d306
treef8f8871ec0e36fb4fc7deb2ecfca9b5a5a03e5f5
parent5194ed7edca2ca4eaa2a48a6ef248432e3a4421e
net: zynq_gem: Fix return type for phy...()

wait_for_bit_le32 returns negative value on failure. Fix phy...() to
handle these failures properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c