]> 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)
commit7527dcf54a2f62966ad483816fff2a6e51307045
tree11300c619846d71681cf1ebb60aa813250ec73ce
parent2ab8aee30308d36b87559cf49c9590897cb6c51d
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