]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit26eee0210ad72a29eb4a70b34320bda266f91a0d
tree687df8cefa73991ff81b52737aa1a7ba5ac383a8
parentc243d7e20996254f89c28d4838b5feca735c030d
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