diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-12-04 23:04:40 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-12-09 17:52:10 +0300 |
commit | 4f7275fc7e570dfc46f733ff8ae131cb128a4758 (patch) | |
tree | 14d52b34d6e1d92cc49c71af2b1a5e55d7b7dd4f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8c7a89678f3befa42a05da67724bf501e3187023 (diff) | |
download | linux-4f7275fc7e570dfc46f733ff8ae131cb128a4758.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions