g_webcam driver for jetson nano

I’m trying to configure a jetson nano to act as a webcam via the Linux USB gadget framework. When I tried to add the g_webcam driver it gives the error as:

modprobe: ERROR: could not insert ‘g_webcam’: Invalid argument

dmesg error:

[ 202.392906] g_webcam gadget: uvc_function_bind
[ 202.392913] g_webcam gadget: Unable to allocate streaming EP
[ 202.392939] g_webcam 700d0000.xudc: failed to start g_webcam: -22

Does anyone know how to fix these errors?

Hi,
Jetson Nano does not support isoc mode. Please refer to
[url]https://devtalk.nvidia.com/default/topic/1035421/jetson-tx2/webcam-uvc/post/5337154/#5337154[/url]