diff options
author | Ivan T. Ivanov <iivanov@mm-sol.com> | 2014-04-28 09:34:11 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-30 12:28:43 -0400 |
commit | 971232cf7c7a71ad3cbf433f592eee3ae1a578ac (patch) | |
tree | 646929ed73c9cd216800a5b423895018f71af6d0 /arch/arm/mach-msm | |
parent | 3aca0fa95f61918d5b78b683c0fbcbf693579f81 (diff) |
usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode
Use enum usb_dr_mode and drop default usb_dr_mode from platform data.
USB DT bindings states: dr_mode: "...In case this attribute isn't
passed via DT, USB DRD controllers should default to OTG...",
so remove redundand field.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/board-msm7x30.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-msm/board-qsd8x50.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c index 46de789ad3ae..0c4c200e1221 100644 --- a/arch/arm/mach-msm/board-msm7x30.c +++ b/arch/arm/mach-msm/board-msm7x30.c | |||
@@ -95,7 +95,7 @@ static int hsusb_phy_clk_reset(struct clk *phy_clk) | |||
95 | 95 | ||
96 | static struct msm_otg_platform_data msm_otg_pdata = { | 96 | static struct msm_otg_platform_data msm_otg_pdata = { |
97 | .phy_init_seq = hsusb_phy_init_seq, | 97 | .phy_init_seq = hsusb_phy_init_seq, |
98 | .mode = USB_PERIPHERAL, | 98 | .mode = USB_DR_MODE_PERIPHERAL, |
99 | .otg_control = OTG_PHY_CONTROL, | 99 | .otg_control = OTG_PHY_CONTROL, |
100 | .link_clk_reset = hsusb_link_clk_reset, | 100 | .link_clk_reset = hsusb_link_clk_reset, |
101 | .phy_clk_reset = hsusb_phy_clk_reset, | 101 | .phy_clk_reset = hsusb_phy_clk_reset, |
diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c index 9169ec324a43..4c748616ef47 100644 --- a/arch/arm/mach-msm/board-qsd8x50.c +++ b/arch/arm/mach-msm/board-qsd8x50.c | |||
@@ -116,7 +116,7 @@ static int hsusb_phy_clk_reset(struct clk *phy_clk) | |||
116 | 116 | ||
117 | static struct msm_otg_platform_data msm_otg_pdata = { | 117 | static struct msm_otg_platform_data msm_otg_pdata = { |
118 | .phy_init_seq = hsusb_phy_init_seq, | 118 | .phy_init_seq = hsusb_phy_init_seq, |
119 | .mode = USB_PERIPHERAL, | 119 | .mode = USB_DR_MODE_PERIPHERAL, |
120 | .otg_control = OTG_PHY_CONTROL, | 120 | .otg_control = OTG_PHY_CONTROL, |
121 | .link_clk_reset = hsusb_link_clk_reset, | 121 | .link_clk_reset = hsusb_link_clk_reset, |
122 | .phy_clk_reset = hsusb_phy_clk_reset, | 122 | .phy_clk_reset = hsusb_phy_clk_reset, |