Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
082570b0
Commit
082570b0
authored
Sep 13, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: es1 endpoint descriptor: minor fixes to get the config right
parent
ac7171ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/staging/greybus/es1_ap_desc.c
drivers/staging/greybus/es1_ap_desc.c
+5
-5
No files found.
drivers/staging/greybus/es1_ap_desc.c
View file @
082570b0
...
...
@@ -40,7 +40,7 @@ static const u8 es1_config_descriptor[] = {
0x04
,
/* __u8 if_bDescriptorType; Interface */
0x00
,
/* __u8 if_bInterfaceNumber; */
0x00
,
/* __u8 if_bAlternateSetting; */
0x0
2
,
/* __u8 if_bNumEndpoints; */
0x0
3
,
/* __u8 if_bNumEndpoints; */
0xff
,
/* __u8 if_bInterfaceClass; Vendor-specific */
0xff
,
/* __u8 if_bInterfaceSubClass; Vendor-specific */
0xff
,
/* __u8 if_bInterfaceProtocol; Vendor-specific */
...
...
@@ -50,21 +50,21 @@ static const u8 es1_config_descriptor[] = {
0x07
,
/* __u8 ep_bLength; */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x81
,
/* __u8 ep_bEndpointAddress; IN Endpoint 1 */
0x03
,
/* __u8 ep_bmAttributes;
Bulk
*/
0x03
,
/* __u8 ep_bmAttributes;
Interrupt
*/
0x00
,
0x04
,
/* __le16 ep_wMaxPacketSize; 1024 */
0x
00
/* __u8 ep_bInterval;
*/
0x
40
,
/* __u8 ep_bInterval; 64ms
*/
0x07
,
/* __u8 ep_bLength; */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x82
,
/* __u8 ep_bEndpointAddress; IN Endpoint 2 */
0x02
,
/* __u8 ep_bmAttributes; Bulk */
0x00
,
0x04
,
/* __le16 ep_wMaxPacketSize; 1024 */
0x
0
0
/* __u8 ep_bInterval; */
0x
4
0
/* __u8 ep_bInterval; */
0x07
,
/* __u8 ep_bLength; */
0x05
,
/* __u8 ep_bDescriptorType; Endpoint */
0x02
,
/* __u8 ep_bEndpointAddress; Out Endpoint 2 */
0x02
,
/* __u8 ep_bmAttributes; Bulk */
0x00
,
0x04
,
/* __le16 ep_wMaxPacketSize; 1024 */
0x
0
0
/* __u8 ep_bInterval; */
0x
4
0
/* __u8 ep_bInterval; */
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment