summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2025-12-03 19:56:35 +0300
committerBenjamin Tissoires <bentiss@kernel.org>2025-12-19 14:08:47 +0300
commit0e13150c1a13a3a3d6184c24bfd080d5999945d1 (patch)
tree259d9e736b5f49d66c3ad49f35cb3b0629c5262e /scripts/const_structs.checkpatch
parente9143268d259d98e111a649affa061acb8e13c5b (diff)
downloadlinux-0e13150c1a13a3a3d6184c24bfd080d5999945d1.tar.xz
HID: Intel-thc-hid: Intel-thc: fix dma_unmap_sg() nents value
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. Fixes: a688404b2e20 ("HID: intel-thc-hid: intel-thc: Add THC DMA interfaces") Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Reviewed-by: Even Xu <even.xu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions