-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Stephan Linz <[email protected]>
- Loading branch information
Showing
1 changed file
with
115 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters