Merge "disp: msm: dsi: Reset DMA trigger mux when initializing DSI_TRIG_CTRL"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
74e17991c1
@@ -253,7 +253,8 @@ void dsi_ctrl_hw_22_reset_trigger_controls(struct dsi_ctrl_hw *ctrl,
|
||||
0x0, 0x2, 0x1, 0x4, 0x5, 0x6 };
|
||||
|
||||
reg = DSI_R32(ctrl, DSI_TRIG_CTRL);
|
||||
reg &= ~(0xF);
|
||||
reg &= ~BIT(16); /* Reset DMA_TRG_MUX */
|
||||
reg &= ~(0xF); /* Reset DMA_TRIGGER_SEL */
|
||||
reg |= (trigger_map[cfg->dma_cmd_trigger] & 0xF);
|
||||
DSI_W32(ctrl, DSI_TRIG_CTRL, reg);
|
||||
|
||||
|
||||
@@ -1920,7 +1920,8 @@ void dsi_ctrl_hw_cmn_init_cmddma_trig_ctrl(struct dsi_ctrl_hw *ctrl,
|
||||
|
||||
/* Initialize the default trigger used for Command Mode DMA path. */
|
||||
reg = DSI_R32(ctrl, DSI_TRIG_CTRL);
|
||||
reg &= ~(0xF);
|
||||
reg &= ~BIT(16); /* Reset DMA_TRG_MUX */
|
||||
reg &= ~(0xF); /* Reset DMA_TRIGGER_SEL */
|
||||
reg |= (trigger_map[cfg->dma_cmd_trigger] & 0xF);
|
||||
DSI_W32(ctrl, DSI_TRIG_CTRL, reg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user