regulator/rpi-panel-attiny: Don't read the LCD power status
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 29 Nov 2021 18:31:37 +0000 (18:31 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 2 Dec 2021 11:52:15 +0000 (11:52 +0000)
commit425e8731c86e5882f7e4ddff73cbb05eaf27b4e8
tree239cc771d59166ca69c8d84679c556b4f62b95bb
parent30bb91977d65c22cec3eaeadb06a6ff7f36ecbc5
regulator/rpi-panel-attiny: Don't read the LCD power status

The I2C to the Atmel is very fussy, and locks up easily on
Pi0-3 particularly on reads.

The LCD power status is controlled solely by this driver, so
rather than reading it back from the Atmel, use the cached
status last set.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/regulator/rpi-panel-attiny-regulator.c