Re: [PATCH] HID: Intel-thc-hid: Intel-thc: fix dma_unmap_sg() nents value
From: Andy Shevchenko
Date: Wed Dec 03 2025 - 12:03:02 EST
On Wed, Dec 03, 2025 at 05:56:35PM +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.
Your email has an empty To:. Some spamfilters may be triggered by this.
I recommend to use `b4` tool to handle the patches.
The change LGTM,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko