]> git.baikalelectronics.ru Git - kernel.git/commit
net/fsl: fix a bug in xgmac_mdio
authorShaohui Xie <Shaohui.Xie@freescale.com>
Mon, 16 Mar 2015 10:55:50 +0000 (18:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 20:27:51 +0000 (16:27 -0400)
commitc740435d49139a52b2138ea46e3177cfd27a04c6
tree687df8cefa73991ff81b52737aa1a7ba5ac383a8
parent6da733940f82326497253098efafa224a239d55c
net/fsl: fix a bug in xgmac_mdio

There is a bug in xgmac_wait_until_done() which mdio_stat should be used
instead of mdio_data when checking if busy bit is cleared.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c