]> git.ipfire.org Git - thirdparty/linux.git/commit
media: uvcvideo: use usb_alloc_noncoherent/usb_free_noncoherent()
authorXu Yang <xu.yang_2@nxp.com>
Fri, 4 Jul 2025 09:57:50 +0000 (17:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 10:15:57 +0000 (12:15 +0200)
commit41b2a7eb1db8899545ebabc9fb7f2eef2e018ada
tree432100e7738ddc04d6f2147dbffce924f0a9f156
parent488e6eaab88cfa4b6fd2e2bb72fac9cfdc8c403b
media: uvcvideo: use usb_alloc_noncoherent/usb_free_noncoherent()

This will use USB noncoherent API to alloc/free urb buffers, then
uvc driver needn't to do dma sync operations by itself.

Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250704095751.73765-3-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/uvc/uvc_video.c