summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2023-03-13 10:45:52 +0300
committerWolfram Sang <wsa@kernel.org>2023-03-16 23:02:15 +0300
commitd98263512684a47e81bcb72a5408958ecd1e60b0 (patch)
tree994045fad33e2630909891469ae8900231b1be6a /tools/perf/scripts/python/export-to-postgresql.py
parentcc9812a3096d1986caca9a23bee99effc45c08df (diff)
downloadlinux-d98263512684a47e81bcb72a5408958ecd1e60b0.tar.xz
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 <fengsheng5@huawei.com> Signed-off-by: Sheng Feng <fengsheng5@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions