Skip to content

Commit f07d9c2

Browse files
Andrzej Hajdadaeinki
authored andcommitted
drm/exynos/decon5433: fix software trigger mask
The patch fixes copy/paste bug introduced during code refactoring. Reported-by: Dan Carpenter <[email protected]> Fixes: b93c2e8 ("drm/exynos/decon5433: configure sysreg in case of hardware trigger")Fixes: Signed-off-by: Andrzej Hajda <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent 82a0178 commit f07d9c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/exynos/exynos5433_drm_decon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ static void decon_setup_trigger(struct decon_context *ctx)
172172
return;
173173

174174
if (!(ctx->out_type & I80_HW_TRG)) {
175-
writel(TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN
176-
| TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN,
175+
writel(TRIGCON_TRIGEN_PER_F | TRIGCON_TRIGEN_F |
176+
TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN,
177177
ctx->addr + DECON_TRIGCON);
178178
return;
179179
}

0 commit comments

Comments
 (0)