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