mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Revert "PM: runtime: Clear power.needs_force_resume in pm_runtime_reinit()"
This reverts commit 2f6af29069 which is
commit 89d9cec3b1e9c49bae9375a2db6dc49bc7468af0 upstream.
It breaks the Android kernel build and can be brought back in the future
in a safe way if it is really needed.
Bug: 161946584
Change-Id: I0a280dbc5acd642e5f5d386bf4573f5756aac8ad
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
0f7dff11a8
commit
e6bbe8cf21
1 changed files with 0 additions and 5 deletions
|
|
@ -1711,11 +1711,6 @@ void pm_runtime_reinit(struct device *dev)
|
|||
pm_runtime_put(dev->parent);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Clear power.needs_force_resume in case it has been set by
|
||||
* pm_runtime_force_suspend() invoked from a driver remove callback.
|
||||
*/
|
||||
dev->power.needs_force_resume = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue