Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/exynos/decon5433: fix software trigger mask

The patch fixes copy/paste bug introduced during code refactoring.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: b93c2e8b5d9d ("drm/exynos/decon5433: configure sysreg in case of hardware trigger")Fixes:
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>

authored by

Andrzej Hajda and committed by
Inki Dae
f07d9c28 82a01783

+2 -2
+2 -2
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
··· 172 172 return; 173 173 174 174 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, 177 177 ctx->addr + DECON_TRIGCON); 178 178 return; 179 179 }