Skip to content
Commit a1cfba54 authored by Yicong Yang's avatar Yicong Yang Committed by Greg Kroah-Hartman
Browse files

i2c: hisi: Avoid redundant interrupts



[ Upstream commit cc9812a3 ]

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: default avatarSheng Feng <fengsheng5@huawei.com>
Signed-off-by: default avatarYicong Yang <yangyicong@hisilicon.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bd51c04b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment