Skip to content
Commit ce174f43 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
Browse files

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: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 425e8731
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment