diff options
| author | Shubham Patil <shubhamsanjay.patil@amd.com> | 2026-09-08 16:42:07 +0530 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-09-22 01:04:46 +0200 |
| commit | bf9ec06c90dcd8ccba116fbc065b5d918de47644 (patch) | |
| tree | 7a5119b06d265b566e526251eaf37bd1ae0a5afd /tools/lib/python | |
| parent | 9b347cbde81c6fa5b7e7043e2ca38229d6c299c4 (diff) | |
| download | linux-next-bf9ec06c90dcd8ccba116fbc065b5d918de47644.tar.gz linux-next-bf9ec06c90dcd8ccba116fbc065b5d918de47644.zip | |
i3c: master: amd: Report direct CCC read length in payload.actual_len
The I3C core expects master drivers to leave payload.len unchanged and
report the number of bytes received on GET CCCs via payload.actual_len.
The AMD driver was overwriting payload.len after direct read CCCs.
Set payload.actual_len from the directed command's rx_actual in
xi3c_master_send_direct_ccc_cmd() instead of modifying payload.len.
Fixes:629a6ddd1d9a ("i3c: master: Add driver for AMD AXI
I3C master controller")
Signed-off-by: Shubham Patil <shubhamsanjay.patil@amd.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260908111207.3274407-1-shubhamsanjay.patil@amd.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
