summaryrefslogtreecommitdiff
path: root/drivers/regulator/bd71828-regulator.c
diff options
context:
space:
mode:
authorDave Stevenson <dave.stevenson@raspberrypi.com>2022-01-25 01:01:29 +0300
committerMark Brown <broonie@kernel.org>2022-01-28 23:55:53 +0300
commite4a7e3f741f797d93d97a153b0f6a862d19a1304 (patch)
treecf8037a32f1684d24e8d18625f74223f6c565bd4 /drivers/regulator/bd71828-regulator.c
parent5fa4e8ea649009566a1b080f836ce23d4ce0c416 (diff)
downloadlinux-e4a7e3f741f797d93d97a153b0f6a862d19a1304.tar.xz
regulator/rpi-panel-attiny: Use two transactions for I2C read
The I2C to the Atmel is very fussy, and locks up easily on Pi0-3 particularly on reads. If running at 100kHz on Pi3, reading the ID register generally locks up the Atmel, but splitting the register select write and read into two transactions is reliable. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com> Link: https://lore.kernel.org/r/20220124220129.158891-10-detlev.casanova@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/bd71828-regulator.c')
0 files changed, 0 insertions, 0 deletions