aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-11-07 08:41:28 +0100
committerFelipe Balbi <balbi@ti.com>2013-11-26 13:47:41 -0600
commit25d8015177ae7baedb8bdc76dffc0884b0d785a3 (patch)
tree9fd9fa78b3d8545e9073f2b68cb11862bfd9162b /drivers/usb/gadget/Kconfig
parentusb: gadget: f_loopback: add configfs support (diff)
downloadlinux-dev-25d8015177ae7baedb8bdc76dffc0884b0d785a3.tar.xz
linux-dev-25d8015177ae7baedb8bdc76dffc0884b0d785a3.zip
usb: gadget: f_sourcesink: add configfs support
Add support for using the sourcesink function in gadgets composed with configfs. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 26fe8769be45..5f1d4443aa0c 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -689,12 +689,13 @@ config USB_CONFIGFS_MASS_STORAGE
device (in much the same way as the "loop" device driver),
specified as a module parameter or sysfs option.
-config USB_CONFIGFS_F_LB
- boolean "Loopback function (for testing)"
+config USB_CONFIGFS_F_LB_SS
+ boolean "Loopback and sourcesink function (for testing)"
depends on USB_CONFIGFS
select USB_F_SS_LB
help
- It loops back a configurable number of transfers.
+ Loopback function loops back a configurable number of transfers.
+ Sourcesink function either sinks and sources bulk data.
It also implements control requests, for "chapter 9" conformance.
Make this be the first driver you try using on top of any new
USB peripheral controller driver. Then you can use host-side