Skip to content
Commit d0ba5a38 authored by Stephan Linz's avatar Stephan Linz Committed by Benjamin Cabé
Browse files

drivers: mipi_dbi_spi: splitting SPI read function



The more complex the SPI transfer algorithms become, the more
confusing the current implementation of the SPI command read
function becomes. Furthermore, if further as yet unknown MIPI
DBI modes are to be supported, the scope of this implementation
would increase dramatically. With the splitting now introduced,
the existing SPI transfer algorithms are moved to individual
auxiliary functions and the SPI read function only focus on
the decision of the respective MIPI DBI mode and the device
lock/unlock.

Signed-off-by: default avatarStephan Linz <linz@li-pro.net>
parent 0c93541b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment