i2c: hisi: Avoid redundant interrupts
mainline inclusion from mainline-v6.3-rc4 commit cc9812a3 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8QL7I CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc9812a3096d1986caca9a23bee99effc45c08df ---------------------------------------------------------------------- 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> Signed-off-by:
lujunhua <lujunhua7@h-partners.com> Signed-off-by:
YunYi Yang <yangyunyi2@huawei.com>
Loading
Please sign in to comment