diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-12-09 14:18:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-09 23:05:16 -0500 |
commit | ab4e4c07aca7b33f8d00c5d6b083a564660ca8a5 (patch) | |
tree | 5715298586d832ca3c47577df26681bb293bc9bc /drivers/uwb/drp-avail.c | |
parent | 7b5967389f5a8dfb9d32843830f5e2717e20995d (diff) | |
download | linux-ab4e4c07aca7b33f8d00c5d6b083a564660ca8a5.tar.bz2 |
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/uwb/drp-avail.c')
0 files changed, 0 insertions, 0 deletions