diff options
| author | Romain Sioen <romain.sioen@microchip.com> | 2026-02-06 17:31:53 +0100 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-02-27 18:55:22 +0100 |
| commit | ab05515757fcb77edbbe7c68fbc7c0c930c0f668 (patch) | |
| tree | d60de3ae283cc3022341cd4bd9465fd1f234d048 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f50822fd8675c68d294e89bd102f7b487ca3acd3 (diff) | |
HID: mcp2221: use mcp_i2c_smbus_read for block reads
Refactor mcp_smbus_xfer() to use the mcp_i2c_smbus_read() helper function
for I2C_SMBUS_BLOCK_DATA and I2C_SMBUS_I2C_BLOCK_DATA read operations.
This replaces the manual setup of the receive buffer and explicit calls
to mcp_send_data_req_status(), making the code cleaner and more consistent
with other read paths in the driver.
Signed-off-by: Romain Sioen <romain.sioen@microchip.com>
Signed-off-by: Marius Cristea <marius.cristea@microchip.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
