Commit f320f004fbed0773e45d24ce86e92de4cc7f7e76

Authored by Kishon Vijay Abraham I
Committed by Lokesh Vutla
1 parent fd93c20f68

board: ti: remove duplicate initialization of vbus_id_status

vbus_id_status is initialized in board_usb_init. So remove it
while creating dwc3_device objects.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

Showing 2 changed files with 0 additions and 4 deletions Side-by-side Diff

board/ti/am43xx/board.c
... ... @@ -742,7 +742,6 @@
742 742 static struct dwc3_omap_device usb_otg_ss1_glue = {
743 743 .base = (void *)USB_OTG_SS1_GLUE_BASE,
744 744 .utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
745   - .vbus_id_status = OMAP_DWC3_VBUS_VALID,
746 745 .index = 0,
747 746 };
748 747  
... ... @@ -761,7 +760,6 @@
761 760 static struct dwc3_omap_device usb_otg_ss2_glue = {
762 761 .base = (void *)USB_OTG_SS2_GLUE_BASE,
763 762 .utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
764   - .vbus_id_status = OMAP_DWC3_VBUS_VALID,
765 763 .index = 1,
766 764 };
767 765  
board/ti/dra7xx/evm.c
... ... @@ -119,7 +119,6 @@
119 119 static struct dwc3_omap_device usb_otg_ss1_glue = {
120 120 .base = (void *)DRA7_USB_OTG_SS1_GLUE_BASE,
121 121 .utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
122   - .vbus_id_status = OMAP_DWC3_VBUS_VALID,
123 122 .index = 0,
124 123 };
125 124  
... ... @@ -140,7 +139,6 @@
140 139 static struct dwc3_omap_device usb_otg_ss2_glue = {
141 140 .base = (void *)DRA7_USB_OTG_SS2_GLUE_BASE,
142 141 .utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
143   - .vbus_id_status = OMAP_DWC3_VBUS_VALID,
144 142 .index = 1,
145 143 };
146 144