Skip to content
Commit 431ac1d2 authored by Phil Elwell's avatar Phil Elwell
Browse files

i2c: bcm2835: Handle untimely DONE signal

Under certain circumstance the DONE flag can appear to be set early.
Fortunately the TA flag is often still set at that time, and it can be
used as an indication that DONE is invalid.

Handle the other cases - when TA is not set but not all data is
available - by silently accepting it and hoping for a second DONE.

See: https://github.com/raspberrypi/linux/issues/3064



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent e4fa41b7
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