diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-12-09 16:18:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-10 07:05:16 +0300 |
commit | ab4e4c07aca7b33f8d00c5d6b083a564660ca8a5 (patch) | |
tree | 5715298586d832ca3c47577df26681bb293bc9bc /drivers/clk/clk-palmas.c | |
parent | 7b5967389f5a8dfb9d32843830f5e2717e20995d (diff) | |
download | linux-ab4e4c07aca7b33f8d00c5d6b083a564660ca8a5.tar.xz |
net: smsc911x: back out silently on probe deferrals
When trying to get a regulator we may get deferred and we see
this noise:
smsc911x 1b800000.ethernet-ebi2 (unnamed net_device) (uninitialized):
couldn't get regulators -517
Then the driver continues anyway. Which means that the regulator
may not be properly retrieved and reference counted, and may be
switched off in case noone else is using it.
Fix this by returning silently on deferred probe and let the
system work it out.
Cc: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/clk-palmas.c')
0 files changed, 0 insertions, 0 deletions