diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2023-03-13 15:45:51 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-03-16 21:00:47 +0100 |
commit | cc9812a3096d1986caca9a23bee99effc45c08df (patch) | |
tree | 1c60609d4f594ba24d334cbcf9e16a285833834e /security/keys/key.c | |
parent | 5190417bdf72c71b65bd9892103c6186816a6e8b (diff) | |
download | linux-stable-cc9812a3096d1986caca9a23bee99effc45c08df.tar.gz linux-stable-cc9812a3096d1986caca9a23bee99effc45c08df.tar.bz2 linux-stable-cc9812a3096d1986caca9a23bee99effc45c08df.zip |
i2c: hisi: Avoid redundant interrupts
After issuing all the messages we can disable the TX_EMPTY interrupts
to avoid handling redundant interrupts. For doing a sinlge bus
detection (i2cdetect -y -r 0) we can reduce ~97% interrupts (before
~12000 after ~400).
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 'security/keys/key.c')
0 files changed, 0 insertions, 0 deletions