aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorYicong Yang <[email protected]>2023-03-13 15:45:52 +0800
committerWolfram Sang <[email protected]>2023-03-16 21:02:15 +0100
commitd98263512684a47e81bcb72a5408958ecd1e60b0 (patch)
tree994045fad33e2630909891469ae8900231b1be6a /tools/testing/selftests/bpf/progs/test_autoload.c
parentcc9812a3096d1986caca9a23bee99effc45c08df (diff)
i2c: hisi: Only use the completion interrupt to finish the transfer
The controller will always generate a completion interrupt when the transfer is finished normally or not. Currently we use either error or completion interrupt to finish, this may result the completion interrupt unhandled and corrupt the next transfer, especially at low speed mode. Since on error case, the error interrupt will come first then is the completion interrupt. So only use the completion interrupt to finish the whole transfer process. Fixes: d62fbdb99a85 ("i2c: add support for HiSilicon I2C controller") Reported-by: Sheng Feng <[email protected]> Signed-off-by: Sheng Feng <[email protected]> Signed-off-by: Yicong Yang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions