PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 May 2022 14:56:55 +0000 (16:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 18:16:05 +0000 (20:16 +0200)
commitbcc19f69f72ab7e3db581b993d6a9fc1bad5ddf4
treee4c6c341bae79176669a94da0e4f489c4fdac6b7
parent7a02444b8fc25ac16f90c1e498aeb672651d6f4b
PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain()

In irq_safe_dev_in_sleep_domain() we correctly skip the dev_warn_once() if
the corresponding genpd for the device, has the GENPD_FLAG_ALWAYS_ON flag
being set. For the same reason (the genpd is always-on in runtime), let's
also skip the warning if the GENPD_FLAG_RPM_ALWAYS_ON flag is set for the
genpd.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c