summaryrefslogtreecommitdiffstats
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
parentc0501f47c68997ea2933460b9908e6a049c59f21 (diff)
downloadop-kernel-dev-25d8015177ae7baedb8bdc76dffc0884b0d785a3.zip
op-kernel-dev-25d8015177ae7baedb8bdc76dffc0884b0d785a3.tar.gz
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 26fe876..5f1d444 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
OpenPOWER on IntegriCloud