Skip to content
Commit 5b767a0d authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by David Leach
Browse files

drvers: display: ili9xxx: fix usage of MIPI buffer descriptor



Fix usage of MIPI buffer descriptor in ili9xxx driver. Previously, the
buffer descriptor size was being set to display buffer size. For cases
where the write height/width  was not equal to the size of the buffer, this
resulted in additional data being written that was not needed. To
resolve this, calculate the mipi descriptor buffer size in the driver

Also, remove the unconditional setting of mipi_desc.height, as this
would override the previous (correct) setting.

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent f81ca136
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment