Loading drivers/usb/gadget/function/uvc_video.c +2 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,8 @@ static int uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) if (ret < 0) { printk(KERN_INFO "Failed to queue request (%d).\n", ret); /* Isochronous endpoints can't be halted. */ if (usb_endpoint_xfer_bulk(video->ep->desc)) if ((ret != -ESHUTDOWN) && usb_endpoint_xfer_bulk(video->ep->desc)) usb_ep_set_halt(video->ep); } Loading Loading
drivers/usb/gadget/function/uvc_video.c +2 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,8 @@ static int uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req) if (ret < 0) { printk(KERN_INFO "Failed to queue request (%d).\n", ret); /* Isochronous endpoints can't be halted. */ if (usb_endpoint_xfer_bulk(video->ep->desc)) if ((ret != -ESHUTDOWN) && usb_endpoint_xfer_bulk(video->ep->desc)) usb_ep_set_halt(video->ep); } Loading