Files
u-boot/drivers
Tomas Alvarez Vanoli 7917c2e356 spi: fsl_espi: fix din offset
In the case of SPI_XFER_BEGIN | SPI_XFER_END, the function creates a
buffer of double the size of the transaction, so that it can write the
data in into the second half. It sets the rx_offset to len, and in the
while loop we are setting an internal "din" to buffer + rx_offset.

However, at the end of each loop, the driver copies "buffer + 2 *
cmd_len" back to the data_in pointer.

This commit changes the source of the data to buffer + rx_offset.

Signed-off-by: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>
2026-04-02 09:07:48 -03:00
..
2025-10-30 12:32:12 -06:00
2026-03-09 15:26:34 -06:00
2026-03-18 13:07:36 -06:00
2025-08-27 15:49:59 +08:00
2025-08-14 10:58:46 -06:00
2026-01-14 16:25:09 +01:00
2026-04-02 09:07:48 -03:00
2025-10-14 10:42:27 +03:00