diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-11-07 02:41:27 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 14:46:13 -0500 |
commit | c0501f47c68997ea2933460b9908e6a049c59f21 (patch) | |
tree | 70dad9d7a3b1d8cecace3ebdc4dbdbd0bdca9f7c /drivers/usb/gadget/zero.c | |
parent | 1efd54eab2b60c68c2ce75ea635306cef847d751 (diff) |
usb: gadget: f_loopback: add configfs support
Add support for using the loopback USB 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/zero.c')
-rw-r--r-- | drivers/usb/gadget/zero.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index 0dd07ae1555d..d954bba7b405 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c | |||
@@ -66,8 +66,8 @@ module_param(loopdefault, bool, S_IRUGO|S_IWUSR); | |||
66 | static struct usb_zero_options gzero_options = { | 66 | static struct usb_zero_options gzero_options = { |
67 | .isoc_interval = 4, | 67 | .isoc_interval = 4, |
68 | .isoc_maxpacket = 1024, | 68 | .isoc_maxpacket = 1024, |
69 | .bulk_buflen = 4096, | 69 | .bulk_buflen = GZERO_BULK_BUFLEN, |
70 | .qlen = 32, | 70 | .qlen = GZERO_QLEN, |
71 | }; | 71 | }; |
72 | 72 | ||
73 | /*-------------------------------------------------------------------------*/ | 73 | /*-------------------------------------------------------------------------*/ |