mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user