Loading drivers/usb/gadget/function/uvc_video.c +5 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,11 @@ uvc_video_alloc_requests(struct uvc_video *video) unsigned int i; int ret = -ENOMEM; BUG_ON(video->req_size); if (video->req_size) { pr_err("%s: close the video node and reopen it\n", __func__); return -EBUSY; } req_size = video->ep->maxpacket * max_t(unsigned int, video->ep->maxburst, 1) Loading Loading
drivers/usb/gadget/function/uvc_video.c +5 −1 Original line number Diff line number Diff line Loading @@ -250,7 +250,11 @@ uvc_video_alloc_requests(struct uvc_video *video) unsigned int i; int ret = -ENOMEM; BUG_ON(video->req_size); if (video->req_size) { pr_err("%s: close the video node and reopen it\n", __func__); return -EBUSY; } req_size = video->ep->maxpacket * max_t(unsigned int, video->ep->maxburst, 1) Loading