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)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 14 Sep 2021 12:04:20 +0000 (13:04 +0100)
commit61782b20e9230e771958f11798662978958c4ca0
treefa392b1ec13bc1e764d761f3da48cf8b5831b7e5
parente2c4a8d98c30b6c4130d13122da158037228d91c
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