soc: rockchip: power-domain: Fix lockdep warning

Use rockchip_dmcfreq_lock_nested().

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I0f5c2b716cc22be195885c7d74cd26c36b8eeff4
This commit is contained in:
Tao Huang
2021-02-17 19:26:29 +08:00
parent 29c90bf3e9
commit 3088a3b56c

View File

@@ -104,7 +104,7 @@ static struct rockchip_pmu *g_pmu;
static void rockchip_pmu_lock(struct rockchip_pm_domain *pd)
{
mutex_lock(&pd->pmu->mutex);
rockchip_dmcfreq_lock();
rockchip_dmcfreq_lock_nested();
}
static void rockchip_pmu_unlock(struct rockchip_pm_domain *pd)