Thomas Fourier
6c0e9f05c9
pch_uart: Fix dma_sync_sg_for_device() nents value
...
The dma_sync_sg_for_device() functions should be called with the same
nents as the dma_map_sg(), not the value the map function returned
according to the documentation in Documentation/core-api/dma-api.rst:450:
With the sync_sg API, all the parameters must be the same
as those passed into the sg mapping API.
Fixes: da3564ee027e ("pch_uart: add multi-scatter processing")
Cc: stable <stable@kernel.org>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250701113452.18590-2-fourier.thomas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-09 13:43:02 +02:00
..
2025-06-08 09:07:37 +02:00
2025-05-21 13:35:58 +02:00
2024-12-04 16:35:53 +01:00
2025-06-08 09:07:37 +02:00
2024-10-16 21:56:58 +02:00
2025-06-08 09:07:37 +02:00
2024-10-11 08:13:28 +02:00
2025-06-08 09:07:37 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2024-11-30 09:03:16 -08:00
2024-10-11 08:13:28 +02:00
2024-10-01 14:11:39 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2025-06-08 09:07:37 +02:00
2025-03-20 08:10:40 -07:00
2025-06-24 15:34:21 +01:00
2025-02-14 10:06:50 +01:00
2025-02-14 10:05:43 +01:00
2025-04-11 16:51:49 +02:00
2025-06-08 09:07:37 +02:00
2024-10-11 08:13:28 +02:00
2025-03-20 08:09:56 -07:00
2025-02-14 10:06:50 +01:00
2025-04-11 16:52:25 +02:00
2025-06-08 09:07:37 +02:00
2024-10-11 08:13:28 +02:00
2024-12-02 11:34:44 -08:00
2024-10-11 08:13:28 +02:00
2025-04-11 16:53:34 +02:00
2025-02-04 14:38:32 +01:00
2025-04-11 16:58:47 +02:00
2025-04-05 10:30:12 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2025-07-09 13:43:02 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2025-04-11 16:52:11 +02:00
2024-10-11 08:13:28 +02:00
2024-10-30 16:07:38 -05:00
2025-06-08 09:07:37 +02:00
2025-05-01 17:20:27 +02:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2025-04-11 16:52:25 +02:00
2025-06-08 09:07:37 +02:00
2025-07-09 13:41:48 +02:00
2024-07-04 15:41:44 +02:00
2025-04-25 13:46:31 +02:00
2025-02-19 15:08:36 +01:00
2025-02-19 15:08:36 +01:00
2025-02-04 14:44:44 +01:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2025-04-11 16:56:32 +02:00
2025-06-08 09:07:37 +02:00
2025-04-11 16:56:30 +02:00
2025-04-28 10:13:28 +02:00
2024-11-13 15:14:17 +01:00
2024-10-11 08:13:28 +02:00
2025-03-20 08:30:44 -07:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2025-03-20 08:00:51 -07:00
2024-10-11 08:13:28 +02:00
2024-10-11 08:13:28 +02:00
2025-04-11 16:52:21 +02:00
2024-10-11 08:13:28 +02:00
2025-04-11 16:52:06 +02:00
2024-11-30 09:03:16 -08:00
2025-02-20 15:38:34 +01:00