summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorCormier, Jonathan <jcormier@criticallink.com>2014-05-21 13:08:52 -0400
committerTom Rini <trini@ti.com>2014-06-05 14:44:56 -0400
commit08be2836df0b07aac65fea583b762335569fd47a (patch)
tree6b78dc1045b649ed3080b143c466a107bde9e578 /arch/openrisc
parent64375014c499528d9df5ee37f78844823a9d21f2 (diff)
downloadtalos-obmc-uboot-08be2836df0b07aac65fea583b762335569fd47a.tar.gz
talos-obmc-uboot-08be2836df0b07aac65fea583b762335569fd47a.zip
phy: fix create_phy_by_mask for when its given an actual search mask
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 <jcormier@criticallink.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud