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-11-17 10:43:21 -06:00
2025-10-13 16:13:21 +02:00
2025-07-29 13:14:47 -06:00
2026-03-30 15:02:27 -06:00
2026-02-18 16:35:12 -06:00
2025-10-30 12:32:12 -06:00
2025-08-13 15:17:46 +02:00
2026-03-13 02:57:15 +08:00
2026-03-30 16:59:35 -06:00
2026-03-30 16:59:35 -06:00
2026-03-27 14:49:32 +01:00
2026-04-02 09:07:18 -03:00
2026-02-14 11:06:46 -06:00
2026-03-16 10:38:47 +01:00
2026-03-10 12:35:02 -06:00
2026-02-19 11:27:51 +01:00
2026-03-23 10:58:20 +08:00
2026-02-14 11:06:46 -06:00
2026-02-13 16:04:40 +02:00
2026-03-09 15:26:34 -06:00
2026-03-23 14:58:46 +01:00
2026-01-09 09:08:14 -06:00
2026-03-30 15:02:27 -06:00
2025-11-20 09:17:58 +01:00
2026-02-26 09:04:46 -06:00
2026-03-18 13:07:36 -06:00
2026-02-17 13:50:22 -06:00
2025-10-10 08:24:45 -06:00
2025-08-13 12:59:36 +03:00
2026-03-30 16:59:35 -06:00
2026-03-30 16:59:35 -06:00
2026-02-20 10:39:19 -06:00
2026-01-09 09:08:14 -06:00
2026-03-31 16:54:49 +02:00
2025-08-11 15:00:30 -06:00
2026-04-02 09:05:06 -03:00
2026-02-17 13:50:22 -06:00
2026-03-16 08:24:18 -06:00
2026-03-30 15:02:27 -06:00
2026-03-30 15:02:27 -06:00
2026-03-22 14:58:40 +02:00
2025-08-27 15:49:59 +08:00
2026-03-10 10:07:04 -06:00
2026-02-17 13:50:22 -06:00
2026-03-09 15:26:34 -06:00
2026-03-23 10:55:01 +08:00
2025-10-08 16:13:06 -06:00
2026-02-13 08:16:24 +01:00
2026-03-16 10:39:26 -06:00
2026-03-13 13:21:59 -06:00
2025-08-14 10:58:46 -06:00
2026-02-17 13:50:22 -06:00
2026-01-14 16:25:09 +01:00
2025-11-07 15:34:22 -06:00
2026-04-02 09:07:48 -03:00
2026-02-17 13:50:22 -06:00
2026-02-18 08:27:51 -06:00
2026-02-14 11:06:46 -06:00
2025-10-14 10:42:27 +03:00
2026-02-17 13:50:22 -06:00
2026-03-30 15:02:27 -06:00
2025-10-14 10:42:27 +03:00
2026-03-13 10:52:03 -06:00
2026-03-30 16:59:35 -06:00
2026-03-22 14:58:58 +02:00
2026-03-25 14:33:00 -06:00
2025-07-10 08:02:11 -03:00
2025-10-08 16:13:11 -06:00
2026-03-09 15:26:34 -06:00
2025-11-20 09:17:58 +01:00
2026-03-12 09:30:44 +01:00