Message ID | 20180613064238.GC112168@atomide.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c @@ -6677,7 +6677,7 @@ static int __maybe_unused wlcore_runtime_suspend(struct device *dev) /* We do not enter elp sleep in PLT mode */ if (wl->plt) - return -EINVAL; + return 0; /* Nothing to do if no ELP mode requested */ if (wl->sleep_auth != WL1271_PSM_ELP)