On Wed, May 21, 2014 at 01:08:52PM -0400, Cormier, Jonathan wrote:

> From: Cormier, Jonathan <jcorm...@criticallink.com>
> 
> get_phy_id returns -EIO when it can't read from a phy at a given addr.  This 
> would cause
> create_phy_by_mask to return prematurely before it had tested the other 
> addresses in the provided mask.
> 
> Example usage:
> Replace
>     phydev = phy_connect(bus, phy_addr, dev, phy_if)
> with
>     phydev = phy_find_by_mask(bus, phy_mask, phy_if)
>     if (phydev)
>       phy_connect_dev(phydev, dev);
> 
> Signed-off-by: Cormier, Jonathan <jcorm...@criticallink.com>
> Cc: Joe Hershberger <joe.hershber...@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to