drm/exynos: fix erroneous register read
Subsystems (3)
Inki Dae
maintainerPATCH 1/1 drm/exynos: fix erroneous register read
This patch fixes erroneous register read.
readl function needs register base address + offset but exynos_drm_gsc module used only offset to read a register.
So this patch uses gsc_read function instead of readl.
Signed-off-by Inki Dae <[email protected]>
Signed-off-by Kyungmin Park <[email protected]>
--- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/exynos/exynos_drm_gsc.c +1 -1
@@ -1604,7 +1604,7 @@ static int gsc_ippdrv_start(struct device *dev, enum drm_exynos_ipp_cmd cmd)exynos_drm_ippnb_send_event (IPP_SET_WRITEBACK , (void *)&set_wb);/* src local path */ - cfg =readl (GSC_IN_CON ); + cfg =gsc_read (GSC_IN_CON ); cfg &= ~(GSC_IN_PATH_MASK |GSC_IN_LOCAL_SEL_MASK ); cfg |= (GSC_IN_PATH_LOCAL |GSC_IN_LOCAL_FIMD_WB );gsc_write (cfg,GSC_IN_CON );
Signature · 1 line
1.7.4.1