提交 216ef0b6 编写于 作者: U Ulf Hansson 提交者: Rafael J. Wysocki

PM / Runtime: Clarify comment in rpm_resume() when resuming the parent

Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 62006c17
...@@ -713,8 +713,8 @@ static int rpm_resume(struct device *dev, int rpmflags) ...@@ -713,8 +713,8 @@ static int rpm_resume(struct device *dev, int rpmflags)
spin_lock(&parent->power.lock); spin_lock(&parent->power.lock);
/* /*
* We can resume if the parent's runtime PM is disabled or it * Resume the parent if it has runtime PM enabled and not been
* is set to ignore children. * set to ignore its children.
*/ */
if (!parent->power.disable_depth if (!parent->power.disable_depth
&& !parent->power.ignore_children) { && !parent->power.ignore_children) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册