]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6318bad45ff7b6ae4db1d63c364ca4c59d3ba850
tree11300c619846d71681cf1ebb60aa813250ec73ce
parentf4469627ad49de3d7c1144af1b7ff197edae1282
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