Skip to content

Commit

Permalink
video: mmp: fix graphics/video layer enable/mask swap issue
Browse files Browse the repository at this point in the history
There is bug when switch dma of graphic layer and video layer, it
configured opposite bit, fix it.

Signed-off-by: Jing Xiang <jxiang@marvell.com>
Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  • Loading branch information
Jing Xiang authored and Jean-Christophe PLAGNIOL-VILLARD committed Jun 27, 2013
1 parent 265e78c commit baf9d52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/video/mmp/hw/mmp_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win)

static void dmafetch_onoff(struct mmp_overlay *overlay, int on)
{
u32 mask = overlay_is_vid(overlay) ? CFG_GRA_ENA_MASK :
CFG_DMA_ENA_MASK;
u32 enable = overlay_is_vid(overlay) ? CFG_GRA_ENA(1) : CFG_DMA_ENA(1);
u32 mask = overlay_is_vid(overlay) ? CFG_DMA_ENA_MASK :
CFG_GRA_ENA_MASK;
u32 enable = overlay_is_vid(overlay) ? CFG_DMA_ENA(1) : CFG_GRA_ENA(1);
u32 tmp;
struct mmp_path *path = overlay->path;

Expand Down

0 comments on commit baf9d52

Please sign in to comment.