diff options
| author | Romain Sioen <romain.sioen@microchip.com> | 2026-02-06 17:32:58 +0100 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-02-27 18:54:09 +0100 |
| commit | e31b556c0ba21f20c298aa61181b96541140b7b9 (patch) | |
| tree | 3b0b7b47aeec76b04d9f6da9985303998b4b757a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 377f8e788945d45b012ed9cfc35ca56c02e86cd8 (diff) | |
| download | linux-e31b556c0ba21f20c298aa61181b96541140b7b9.tar.gz linux-e31b556c0ba21f20c298aa61181b96541140b7b9.zip | |
HID: mcp2221: cancel last I2C command on read error
When an I2C SMBus read operation fails, the MCP2221 internal state machine
may not reset correctly, causing subsequent transactions to fail.
By adding a short delay and explicitly cancelling the last command,
we ensure the device is ready for the next operation.
Fix an issue where i2cdetect was not able to detect all devices correctly
on the bus.
Signed-off-by: Romain Sioen <romain.sioen@microchip.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
