mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
clk: rockchip: rv1106: use system_freezable_wq for pvtpll_calibrate_work
1. Do not freeze pvtpll_calibrate_work when calibration is processing, otherwise the rate of pvtpll maybe wrong. 2. Set the delay to 300ms. Signed-off-by: Liang Chen <cl@rock-chips.com> Change-Id: I67bef5663d4cc5bf838f5db0d02b643105d25be6
This commit is contained in:
@@ -1135,7 +1135,7 @@ static void rockchip_rv1106_pvtpll_init(struct rockchip_clk_provider *ctx)
|
||||
writel_relaxed(0xffff0004, ctx->reg_base + CRU_PVTPLL1_CON2_H);
|
||||
writel_relaxed(0x00030003, ctx->reg_base + CRU_PVTPLL1_CON0_L);
|
||||
|
||||
schedule_delayed_work(&pvtpll_calibrate_work, msecs_to_jiffies(3000));
|
||||
queue_delayed_work(system_freezable_wq, &pvtpll_calibrate_work, msecs_to_jiffies(300));
|
||||
}
|
||||
|
||||
static int rv1106_clk_panic(struct notifier_block *this,
|
||||
|
||||
Reference in New Issue
Block a user