drm/rockchip/ebc-dev: dsp output low when power off

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I34b11e07f2dd34262a9b7730e8251af9209b0d8e
This commit is contained in:
Zorro Liu
2021-01-11 21:03:18 +08:00
committed by Tao Huang
parent 452ebfb0a2
commit a01e6dba20

View File

@@ -220,6 +220,8 @@ static int tcon_enable(struct ebc_tcon *tcon, struct ebc_panel *panel)
static void tcon_disable(struct ebc_tcon *tcon)
{
disable_irq(tcon->irq);
/* output low */
tcon_update_bits(tcon, EBC_DSP_START, DSP_OUT_LOW | DSP_FRM_START_MASK, DSP_OUT_LOW);
pm_runtime_put_sync(tcon->dev);
clk_disable_unprepare(tcon->dclk);