[PATCH] clk: imx: clk-imx6ul: Fixed conditional for enabling USB phy clocks
Robin van der Gracht
robin at protonic.nl
Fri Mar 3 01:05:39 PST 2017
Signed-off-by: Robin van der Gracht <robin at protonic.nl>
---
drivers/clk/imx/clk-imx6ul.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c
index 72b5fa2..0ca0652 100644
--- a/drivers/clk/imx/clk-imx6ul.c
+++ b/drivers/clk/imx/clk-imx6ul.c
@@ -392,7 +392,7 @@ static int imx6_ccm_probe(struct device_d *dev)
for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
clk_enable(clks[clks_init_on[i]]);
- if (IS_ENABLED(CONFIG_USB_MXS_PHY)) {
+ if (IS_ENABLED(CONFIG_USB_IMX_PHY)) {
clk_enable(clks[IMX6UL_CLK_USBPHY1_GATE]);
clk_enable(clks[IMX6UL_CLK_USBPHY2_GATE]);
}
--
2.9.3
More information about the barebox
mailing list