net/smsc911x: Always wait for the chip to be ready
authorRobert Marklund <robert.marklund@stericsson.com>
Tue, 25 Oct 2011 22:05:43 +0000 (22:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2011 05:40:50 +0000 (00:40 -0500)
commit3ac3546e5f17248d961ef0f4a27e75564bf71578
tree11300c619846d71681cf1ebb60aa813250ec73ce
parentef5e0d8237287db3a12d84f08fb2483d7a30a943
net/smsc911x: Always wait for the chip to be ready

Wait for the chip to be ready before any access to it. On the
Snowball platform we need to enable an external regulator before
the chip comes online, and then it happens that the device is
not yet ready at probe time, so let's wait for it.

Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c