diff options
| author | Jae Hyun Yoo <jae.hyun.yoo@intel.com> | 2021-07-26 21:42:20 +0300 |
|---|---|---|
| committer | Jae Hyun Yoo <jae.hyun.yoo@intel.com> | 2021-07-26 21:53:22 +0300 |
| commit | 15fc5f9458794e52085a58b6734168b6dce0fc73 (patch) | |
| tree | f868ca9b3062ba29e3a5a17e075982d3b78e840d /kernel/torture.c | |
| parent | 986843a87f9f2c2e2eaf99f3d8432e00d8751dc7 (diff) | |
| download | linux-dev-5.10.49-intel.tar.xz | |
i2c: aspeed: fix interrupt handling on some abnormal casesdev-5.10.49-intel
These two exceptional cases were rarely observed in a slave device
reset or in a peer master reset conditions.
1. aspeed-i2c-bus 1e78a480.i2c-bus: irq handled != irq. expected 0x00000030, but was 0x00000020
when master goes from ASPEED_I2C_MASTER_STOP to
ASPEED_I2C_MASTER_INACTIVE state due to an
ASPEED_I2CD_INTR_ABNORMAL event. In this case,
ASPEED_I2CD_INTR_NORMAL_STOP should be simply ignored without
printing out the error message.
2. aspeed-i2c-bus 1e78a480.i2c-bus: irq handled != irq. expected 0x00000010, but was 0x00000000
when master already went to ASPEED_I2C_MASTER_INACTIVE. H/W sends
one additional ASPEED_I2CD_INTR_NORMAL_STOP event but it's a
garbage because driver is already in inactive state so filter it
off from the error message printing out.
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
Change-Id: I94794a9612a7e8db445591e490bad6adae0faacf
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions
