regulator: rpi-panel: Handle I2C errors/timing to the Atmel
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 8 Sep 2021 13:56:03 +0000 (14:56 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:22 +0000 (16:04 +0000)
commit73ce76b3ddaa414509edae7b0e70f0ba560ed352
tree923dfdff4b7dcc4e9167f5625e07e903873121a0
parentf6d8378065c69a88ece68523320b9b59c156aafc
regulator: rpi-panel: Handle I2C errors/timing to the Atmel

The Atmel is doing some things in the I2C ISR, during which
period it will not respond to further commands. This is
particularly true of the POWERON command.

Increase delays appropriately, and retry should I2C errors be
reported.

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