On Tue, Oct 21, 2025 at 04:23:02PM +0300, Tomi Valkeinen wrote:
> Sending long commands using the video buffer (to be implemented in
> following patches) requires setting TC358768_DATAFMT and
> TC358768_DSITX_DT registers for command transfer. The same registers
> also need to be configured properly for video transfer.
> 
> The long commands will be sent between the bridge's pre_enable() and
> enable(), and currently we configure the registers for video transfer in
> pre_enable(). Thus, they would be overwritten by the long command
> transfer code.
> 
> To prevent that from happening, set those registers for video transfer
> in enable(), not in pre_enable().
> 
> Based on code from Parth Pancholi <[email protected]>
> 
> Signed-off-by: Tomi Valkeinen <[email protected]>

Reviewed-by: Francesco Dolcini <[email protected]>

Reply via email to