diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-12-10 12:34:02 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 19:13:26 +0100 |
commit | 46919a23ee87bbc4eeb6d958471174e26836f0e1 (patch) | |
tree | f6630c766ed3ebd0efcaf92cb04ceb105760140c /drivers/usb/gadget/Kconfig | |
parent | usb: gadget: uvc: verify descriptors presence (diff) | |
download | linux-46919a23ee87bbc4eeb6d958471174e26836f0e1.tar.xz linux-46919a23ee87bbc4eeb6d958471174e26836f0e1.zip |
usb: gadget: uvc: configfs support in uvc function
Add support for using the uvc function as a component of USB gadgets composed
with configfs.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 747ef53bda14..65f7f1265522 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -423,6 +423,17 @@ config USB_CONFIGFS_F_HID For more information, see Documentation/usb/gadget_hid.txt. +config USB_CONFIGFS_F_UVC + boolean "USB Webcam function" + depends on USB_CONFIGFS + depends on VIDEO_DEV + select VIDEOBUF2_VMALLOC + select USB_F_UVC + help + The Webcam function acts as a composite USB Audio and Video Class + device. It provides a userspace API to process UVC control requests + and stream video data to the host. + source "drivers/usb/gadget/legacy/Kconfig" endchoice |