提交 3dae8b41 编写于 作者: M Matthew Garrett 提交者: Mauro Carvalho Chehab

V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo

We've been doing this for a while in Fedora without any complaints.
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 bfc3d57f
...@@ -1820,6 +1820,7 @@ static int uvc_probe(struct usb_interface *intf, ...@@ -1820,6 +1820,7 @@ static int uvc_probe(struct usb_interface *intf,
} }
uvc_trace(UVC_TRACE_PROBE, "UVC device initialized.\n"); uvc_trace(UVC_TRACE_PROBE, "UVC device initialized.\n");
usb_enable_autosuspend(udev);
return 0; return 0;
error: error:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册