Skip to content

Commit

Permalink
USB: Register OTG port as 2.0 device
Browse files Browse the repository at this point in the history
  • Loading branch information
apxii committed Nov 8, 2012
1 parent 6ffe046 commit 9a67fc2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/usb/sun4i_usb/hcd/hcd0/sw_hcd0.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,15 +1166,14 @@ static const struct hc_driver sw_hcd_hc_driver = {
.description = "sw_hcd-hcd",
.product_desc = "sw_hcd host driver",
.hcd_priv_size = sizeof(struct sw_hcd),
// .flags = HCD_USB2 | HCD_MEMORY,
.flags = HCD_USB11 | HCD_MEMORY,
.flags = HCD_USB2 | HCD_MEMORY,

/* not using irq handler or reset hooks from usbcore, since
* those must be shared with peripheral code for OTG configs
*/

.start = sw_hcd_h_start,
.stop = sw_hcd_h_stop,
.start = sw_hcd_h_start,
.stop = sw_hcd_h_stop,

.get_frame_number = sw_hcd_h_get_frame_number,

Expand All @@ -1185,7 +1184,7 @@ static const struct hc_driver sw_hcd_hc_driver = {
.hub_status_data = sw_hcd_hub_status_data,
.hub_control = sw_hcd_hub_control,
.bus_suspend = sw_hcd_bus_suspend,
.bus_resume = sw_hcd_bus_resume,
.bus_resume = sw_hcd_bus_resume,
};

/*
Expand Down

0 comments on commit 9a67fc2

Please sign in to comment.