mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
drm/rockchip: vop2: make clk enable/disable balance
Change-Id: I410c268bd1015d776c7a594a221944b99c312614 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This commit is contained in:
@@ -1117,6 +1117,12 @@ err_disable_hclk:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void vop2_core_clks_disable(struct vop2 *vop2)
|
||||
{
|
||||
clk_disable(vop2->aclk);
|
||||
clk_disable(vop2->hclk);
|
||||
}
|
||||
|
||||
static void vop2_crtc_load_lut(struct drm_crtc *crtc)
|
||||
{
|
||||
}
|
||||
@@ -3501,6 +3507,8 @@ static irqreturn_t vop2_isr(int irq, void *data)
|
||||
if (active_irqs)
|
||||
DRM_ERROR("Unknown axi_bus%d IRQs: %02x\n", i, active_irqs);
|
||||
}
|
||||
|
||||
vop2_core_clks_disable(vop2);
|
||||
out:
|
||||
pm_runtime_put(vop2->dev);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user