aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/mmp/hw/mmp_ctrl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/mmp/hw/mmp_ctrl.c b/drivers/video/mmp/hw/mmp_ctrl.c
index cc62a79ed0cd..8612590ea943 100644
--- a/drivers/video/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/mmp/hw/mmp_ctrl.c
@@ -165,9 +165,9 @@ static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win)
165 165
166static void dmafetch_onoff(struct mmp_overlay *overlay, int on) 166static void dmafetch_onoff(struct mmp_overlay *overlay, int on)
167{ 167{
168 u32 mask = overlay_is_vid(overlay) ? CFG_GRA_ENA_MASK : 168 u32 mask = overlay_is_vid(overlay) ? CFG_DMA_ENA_MASK :
169 CFG_DMA_ENA_MASK; 169 CFG_GRA_ENA_MASK;
170 u32 enable = overlay_is_vid(overlay) ? CFG_GRA_ENA(1) : CFG_DMA_ENA(1); 170 u32 enable = overlay_is_vid(overlay) ? CFG_DMA_ENA(1) : CFG_GRA_ENA(1);
171 u32 tmp; 171 u32 tmp;
172 struct mmp_path *path = overlay->path; 172 struct mmp_path *path = overlay->path;
173 173