提交 f07d9c28 编写于 作者: A Andrzej Hajda 提交者: Inki Dae

drm/exynos/decon5433: fix software trigger mask

The patch fixes copy/paste bug introduced during code refactoring.
Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
Fixes: b93c2e8b ("drm/exynos/decon5433: configure sysreg in case of hardware trigger")Fixes:
Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: NInki Dae <inki.dae@samsung.com>
上级 82a01783
......@@ -172,8 +172,8 @@ static void decon_setup_trigger(struct decon_context *ctx)
return;
if (!(ctx->out_type & I80_HW_TRG)) {
writel(TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN
| TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN,
writel(TRIGCON_TRIGEN_PER_F | TRIGCON_TRIGEN_F |
TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN,
ctx->addr + DECON_TRIGCON);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册