]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm/km: fix wrong error handling
authorHolger Brunck <holger.brunck@keymile.com>
Mon, 27 Jan 2014 15:58:26 +0000 (16:58 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 13 Feb 2014 15:17:39 +0000 (16:17 +0100)
commitfa6e0ecb8aeedbc2138c162dc0319920b7e8e34b
treeb6dc31e04276adaf6068821ff48648ffa7cfa5fe
parent56cde17760deacc45866cdc6a2248d0fc245026d
arm/km: fix wrong error handling

miiphy_read and miiphy_write are returning 0 on success.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/km_arm/km_arm.c