Skip to content

Commit

Permalink
Input: ili210x - define and use chip operations structure
Browse files Browse the repository at this point in the history
Instead of doing if/else if/else on the chip's model number let's define
chip operations structure and use it to perform indirect calls. With number
of protocols supported by the driver growing, this makes it better
maintainable.

This change includes fixes to checks whether the driver should continue
polling the controller by Sven Van Asbroeck <thesven73@gmail.com>.

Tested-by: Adam Ford <aford173@gmail.com> #imx6q-logicpd
Tested-by: Sven Van Asbroeck <TheSven73@gmail.com> # ILI2118A variant
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
dtor committed Nov 12, 2019
1 parent efda86a commit ef536ab
Showing 1 changed file with 173 additions and 136 deletions.
Loading

0 comments on commit ef536ab

Please sign in to comment.