net: phy: mdio-gpio: Handle phy_ignore_ta_mask
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 12 May 2015 17:33:26 +0000 (10:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2015 17:40:55 +0000 (13:40 -0400)
commitea48b2b8ada594e985b86da98b0c966d1ae23a4b
treebabdeed65a31a527da58bc173cc5e1eee83b35c9
parentab6016e0c134c3a564e6750f5b246ba17ada4686
net: phy: mdio-gpio: Handle phy_ignore_ta_mask

Update mdiobb_read() to read whether the PHY has a broken turn-around,
and if it does, ignore it to make the read succeeed.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-bitbang.c