diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-11-02 11:56:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-11-02 11:28:59 -0800 |
commit | 4d5c446b53655da886822a01b5d004704b564f8d (patch) | |
tree | 4a64f3c31d9915d21a0fec91203c80387865ea4d /drivers/staging/greybus/es2.c | |
parent | 41a7fe27d6ee34f9752648805d596de0948a9873 (diff) | |
download | op-kernel-dev-4d5c446b53655da886822a01b5d004704b564f8d.zip op-kernel-dev-4d5c446b53655da886822a01b5d004704b564f8d.tar.gz |
greybus: es2: update obsolete bridge-device comments
Update obsolete bridge-device comments to better describe our current
ES2 endpoint layout.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/es2.c')
-rw-r--r-- | drivers/staging/greybus/es2.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index b43435f..870c9cb 100644 --- a/drivers/staging/greybus/es2.c +++ b/drivers/staging/greybus/es2.c @@ -778,11 +778,10 @@ out: } /* - * The ES2 USB Bridge device contains 4 endpoints - * 1 Control - usual USB stuff + AP -> SVC messages - * 1 Interrupt IN - SVC -> AP messages - * 1 Bulk IN - CPort data in - * 1 Bulk OUT - CPort data out + * The ES2 USB Bridge device has 15 endpoints + * 1 Control - usual USB stuff + AP -> APBridgeA messages + * 7 Bulk IN - CPort data in + * 7 Bulk OUT - CPort data out */ static int ap_probe(struct usb_interface *interface, const struct usb_device_id *id) @@ -830,7 +829,7 @@ static int ap_probe(struct usb_interface *interface, goto error; } - /* find all 3 of our endpoints */ + /* find all bulk endpoints */ iface_desc = interface->cur_altsetting; for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { endpoint = &iface_desc->endpoint[i].desc; |