Files
u-boot-tk1-som/drivers
karl beldan 05237f735e net: davinci_emac: Restore the internal MDIO accessors return values
The spatch series converting legacy drivers from miiphy_register to
mdio_register changed the return convention of the davinci_emac internal
MDIO accessors, making the internal code relying on it misbehaving:
no mdiodev get registered and U-Boot crashes when using net cmds in the
context of the old legacy net API.

ATM davinci_emac_initialize and cpu_eth_init don't return a proper value
in that case but fixing them would not avoid the crash.

This change is just a follow-up to the spatch pass, the MDIO accessors
of the mdiodev introduced by the spatch pass retain their proper values.

Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-08-22 14:21:20 -05:00
..
2015-11-02 10:38:00 +09:00
2016-08-02 09:47:34 -07:00
2016-01-27 15:32:05 +01:00
2016-08-15 10:26:13 -07:00
2016-08-15 15:29:03 -05:00
2016-08-15 10:26:13 -07:00
2016-07-14 18:33:11 -04:00
2016-02-06 12:00:59 +01:00
2016-08-12 16:00:50 -04:00
2016-03-14 19:21:44 -04:00
2016-08-20 14:03:23 -04:00