mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02: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:
parent
29c90bf3e9
commit
3088a3b56c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user