Configure 'FORCEBTA' mandatorily for every packet send may
cause some packet send timeout in a low possibility. And
until now, this timeout issue only happens during panel
disable callback with the below error log:
"
imx_sec_dsim_drv
32e10000.mipi_dsi: wait pkthdr tx done time out
panel-raydium-rm67191
32e10000.mipi_dsi.0: [drm:rad_panel_disable] *ERROR* Failed to enter sleep mode (-16)
imx_sec_dsim_drv
32e10000.mipi_dsi: panel disable failed: -16
panel-raydium-rm67191
32e10000.mipi_dsi.0: [drm:rad_panel_unprepare] *ERROR* Panel still enabled!
imx_sec_dsim_drv
32e10000.mipi_dsi: panel unprepare failed: -1
"
The root cause for this error is not clear, but remove
'FORCEBTA' can avoid it and won't cause any side effect.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit
811696087681cd45a8150afff7a8da3a2a6eb113)
else
escmode &= ~ESCMODE_CMDLPDT;
- /* force BTA at the end of packet transfer
- * to receive the acknowledgment from dsi
- * peripheral for this transfer
- */
- escmode |= ESCMODE_FORCEBTA;
-
dsim_write(dsim, escmode, DSIM_ESCMODE);
}