diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-12-04 21:04:40 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-12-09 15:52:10 +0100 |
commit | 4f7275fc7e570dfc46f733ff8ae131cb128a4758 (patch) | |
tree | 14d52b34d6e1d92cc49c71af2b1a5e55d7b7dd4f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8c7a89678f3befa42a05da67724bf501e3187023 (diff) |
i2c: i801: Don't clear status flags twice in interrupt mode
In interrupt mode we clear the status flags twice, in the interrupt
handler and in i801_check_post(). Remove clearing the status flags
from i801_check_post() and handle polling mode by using the
SMBus unlocking write to also clear the status flags if still set.
To be precise: One could still argue that the status flags are
cleared twice in interrupt mode, but it comes for free.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions