Revert "net: stmmac: replace msleep with mdelay between spinlock and spinunlock"
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 4 Jul 2016 10:13:57 +0000 (18:13 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 4 Jul 2016 10:24:18 +0000 (18:24 +0800)
commit92d66262c7bc83090e3716cc6b63df258590e764
treeda309e9f149d1272fea2d6388114f31a339e2b2c
parent6d7cc1fdfafd9aff00f5a71dfab650a3a9dd7306
Revert "net: stmmac: replace msleep with mdelay between spinlock and spinunlock"

This reverts commit b664a51a074b560e92e5b22523c5cb54833e7bf2.
Upstream commit f55d84b07c4e ("stmmac: do not sleep in atomic context for mdio_reset")
fixes this bug.

Change-Id: I7332b3586640667f551c7e83eafff560a4f5a478
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c