Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52fb14dd authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

cnss: Clear runtime_error flag when exit runtime PM feature



Clear the runtime_error flag so that runtime PM status can be set to
active when exit the feature. This makes sure that next time it is
able to start freshly.

Change-Id: I16d38d436a40e3538f174e7eb71f1c5f8c72d9f3
CRs-fixed: 893516
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 7af2265a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3145,6 +3145,7 @@ EXPORT_SYMBOL(cnss_runtime_init);
void cnss_runtime_exit(struct device *dev)
{
	pm_runtime_get_noresume(dev);
	pm_runtime_set_active(dev);
}
EXPORT_SYMBOL(cnss_runtime_exit);
module_init(cnss_initialize);