summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJae Hyun Yoo <jae.hyun.yoo@intel.com>2020-04-28 22:08:14 +0300
committerJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>2021-11-05 10:22:10 +0300
commitafc473da0155c0ea21251de6fb2e379b5ccbe163 (patch)
treefef70b2f312af3b07220a33725b464c506429832 /net
parent53696233063899a68180725ad341096c10f42f66 (diff)
downloadlinux-afc473da0155c0ea21251de6fb2e379b5ccbe163.tar.xz
i2c: aspeed: fix arbitration loss handling logic
When an arbitration loss happens in a multi-master bus, driver drops the packet induce I2C subsystem to retry the transaction by returning -EAGAIN. During this handling, tx_ack comes along sometimes and it causes this this garbage printing out: aspeed-i2c-bus 1e78a400.i2c-bus: irq handled != irq. expected 0x00000009, but was 0x00000008 To fix this issue, this commit adds the tx_ack flag clearing into the arbitration loss handling logic. Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions