diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-11-07 08:41:28 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 20:47:41 +0100 |
commit | 25d8015177ae7baedb8bdc76dffc0884b0d785a3 (patch) | |
tree | 9fd9fa78b3d8545e9073f2b68cb11862bfd9162b /drivers/usb/gadget/zero.c | |
parent | usb: gadget: f_loopback: add configfs support (diff) | |
download | linux-25d8015177ae7baedb8bdc76dffc0884b0d785a3.tar.xz linux-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/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 d954bba7b405..00b401906a32 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c @@ -64,8 +64,8 @@ static bool loopdefault = 0; module_param(loopdefault, bool, S_IRUGO|S_IWUSR); static struct usb_zero_options gzero_options = { - .isoc_interval = 4, - .isoc_maxpacket = 1024, + .isoc_interval = GZERO_ISOC_INTERVAL, + .isoc_maxpacket = GZERO_ISOC_MAXPACKET, .bulk_buflen = GZERO_BULK_BUFLEN, .qlen = GZERO_QLEN, }; |