OSDN Git Service

i2c-msm-v2: allow i2c_adapter to retry on arbitration lost
authorDavid Lin <dtwlin@google.com>
Mon, 20 Mar 2017 17:40:20 +0000 (10:40 -0700)
committerArian <arian.kulmer@web.de>
Tue, 19 Nov 2019 14:36:08 +0000 (15:36 +0100)
commit4ac49dfef1f5a4a594046e20621529f9c62c405a
treed5c002f5f058e6f2eb53092067b2b4698a4a73b9
parent9c09b93ffe663a9064f81208b6e43cf6580f1c37
i2c-msm-v2: allow i2c_adapter to retry on arbitration lost

In case of error on lost arbitration, the host should at least attempt
to retry in case if the bus error is transient (i.e., from signal
interference or misbehaved devices). Use the default 2s timeout setting.

Bug: 35439882

Change-Id: Id9bd5a5ea764405401588220a2d2bf0fd85111f7
Signed-off-by: David Lin <dtwlin@google.com>
drivers/i2c/busses/i2c-msm-v2.c
include/linux/i2c/i2c-msm-v2.h