Message ID | 20210120015010.14191-3-digetx@gmail.com |
---|---|
State | Accepted |
Commit | 18027d6f392ee8d89d9df4dff0a7db4fb2d6f8a5 |
Headers | show |
Series | GENPD API improvements | expand |
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 0bd0cdc30393..def1299ad085 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -2466,7 +2466,7 @@ int of_genpd_add_subdomain(struct of_phandle_args *parent_spec, out: mutex_unlock(&gpd_list_lock); - return ret; + return ret == -ENOENT ? -EPROBE_DEFER : ret; } EXPORT_SYMBOL_GPL(of_genpd_add_subdomain);