mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
greybus: es1 endpoint descriptor: minor fixes to get the config right
This commit is contained in:
parent
ac7171ea26
commit
082570b0ee
@ -40,7 +40,7 @@ static const u8 es1_config_descriptor[] = {
|
||||
0x04, /* __u8 if_bDescriptorType; Interface */
|
||||
0x00, /* __u8 if_bInterfaceNumber; */
|
||||
0x00, /* __u8 if_bAlternateSetting; */
|
||||
0x02, /* __u8 if_bNumEndpoints; */
|
||||
0x03, /* __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 */
|
||||
0x00 /* __u8 ep_bInterval; */
|
||||
0x40, /* __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 */
|
||||
0x00 /* __u8 ep_bInterval; */
|
||||
0x40 /* __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 */
|
||||
0x00 /* __u8 ep_bInterval; */
|
||||
0x40 /* __u8 ep_bInterval; */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user