Re: [PATCH] HID: Intel-thc-hid: Intel-thc: fix dma_unmap_sg() nents value
From: Benjamin Tissoires
Date: Fri Dec 19 2025 - 08:06:02 EST
On Wed, 03 Dec 2025 17:56:35 +0100, Thomas Fourier wrote:
> The `dma_unmap_sg()` functions should be called with the same nents as the
> `dma_map_sg()`, not the value the map function returned.
>
> Save the number of entries in struct thc_dma_configuration.
>
>
Applied to hid/hid.git (for-6.19/upstream-fixes), thanks!
[1/1] HID: Intel-thc-hid: Intel-thc: fix dma_unmap_sg() nents value
https://git.kernel.org/hid/hid/c/0e13150c1a13
Cheers,
--
Benjamin Tissoires <bentiss@xxxxxxxxxx>