24 static int exynos4_usb_host_phy_is_on(
void)
31 struct clk *xusbxti_clk;
35 if (xusbxti_clk && !IS_ERR(xusbxti_clk)) {
92 exynos4210_usb_phy_clkset(pdev);
128 if (IS_ERR(otg_clk)) {
129 dev_err(&pdev->
dev,
"Failed to get otg clock\n");
130 return PTR_ERR(otg_clk);
139 if (exynos4_usb_host_phy_is_on())
145 exynos4210_usb_phy_clkset(pdev);
182 if (IS_ERR(otg_clk)) {
183 dev_err(&pdev->
dev,
"Failed to get otg clock\n");
184 return PTR_ERR(otg_clk);
208 return exynos4210_usb_phy0_init(pdev);
210 return exynos4210_usb_phy1_init(pdev);
218 return exynos4210_usb_phy0_exit(pdev);
220 return exynos4210_usb_phy1_exit(pdev);