Re: [PATCH v2 1/5] PM / Domains: Remove redundant call to pm_request_idle() in genpd
From: Kevin Hilman <khilman@baylibre.com>
Date: 2016-06-15 21:33:10
From: Kevin Hilman <khilman@baylibre.com>
Date: 2016-06-15 21:33:10
Ulf Hansson [off-list ref] writes:
The PM core increases the runtime PM usage count at the system PM prepare phase. Later when the system resumes, it does a pm_runtime_put() in the complete phase, which in addition to decrementing the usage count, does the equivalent of a pm_request_idle(). Therefore the call to pm_request_idle() from within genpd's ->complete() callback is redundant, so let's remove it. Signed-off-by: Ulf Hansson <redacted>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>