OSDN Git Service

usb: gadget: uvc: Move trace parameter to function module
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 21 May 2018 08:28:53 +0000 (11:28 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 26 Jul 2018 10:33:48 +0000 (13:33 +0300)
commit20970d823a17f87aa4105febc181e5ee823dbe25
tree37152cfa42259b663a6f34910d66da3c805fa9b6
parent284eb1663bed1fe0934d60755443504aeea011f8
usb: gadget: uvc: Move trace parameter to function module

The trace module parameter controls output of debugging messages in the
UVC function driver. Move it from the webcam module to the UVC function
module where it belongs. This allows ConfigFS-based UVC gadgets to
control tracing.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_uvc.c
drivers/usb/gadget/function/u_uvc.h
drivers/usb/gadget/legacy/webcam.c