[PATCH] clk: imx: clk-imx6ul: Fixed conditional for enabling USB phy clocks

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 3 02:54:52 PST 2017


On Fri, Mar 03, 2017 at 10:05:39AM +0100, Robin van der Gracht wrote:
> 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]);
>  	}

Oops. Applied to master

Thanks
Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list