diff options
author | Michael Wu <michael.wu@vatics.com> | 2020-10-30 16:04:19 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-11-06 16:01:48 +0100 |
commit | 66b92313e2ca9208b5f3ebf5d86e9a818299d8fa (patch) | |
tree | 02fba180ec7ad409a3e11f0222b578de23bc90f8 /lib/fdt_addresses.c | |
parent | 9890923be3a6d5e606cf4ae4f4e632a5e38cb37c (diff) | |
download | linux-66b92313e2ca9208b5f3ebf5d86e9a818299d8fa.tar.bz2 |
i2c: designware: call i2c_dw_read_clear_intrbits_slave() once
If some bits were cleared by i2c_dw_read_clear_intrbits_slave() in
i2c_dw_isr_slave() and not handled immediately, those cleared bits would
not be shown again by later i2c_dw_read_clear_intrbits_slave(). They
therefore were forgotten to be handled.
i2c_dw_read_clear_intrbits_slave() should be called once in an ISR and take
its returned state for all later handlings.
Signed-off-by: Michael Wu <michael.wu@vatics.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'lib/fdt_addresses.c')
0 files changed, 0 insertions, 0 deletions