From: Fabio Estevam Date: Tue, 6 Jun 2017 15:45:54 +0000 (-0300) Subject: clk: imx7d: Fix the DDR PLL enable bit X-Git-Tag: v4.13-rc1~117^2~40 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=b608a89221b401d7b07a1b6330777a034d204410;p=linux.git clk: imx7d: Fix the DDR PLL enable bit Commit ad14972422899b6 ("clk: imx7d: Fix the powerdown bit location of PLL DDR") used the incorrect bit for the IMX_PLLV3_DDR_IMX7 case. Fix it accordingly to avoid a kernel hang. Reported-by: Leonard Crestez Signed-off-by: Fabio Estevam Reviewed-by: Stefan Agner Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c index 0039b169364e..9af62ee8f347 100644 --- a/drivers/clk/imx/clk-pllv3.c +++ b/drivers/clk/imx/clk-pllv3.c @@ -453,7 +453,7 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, ops = &clk_pllv3_enet_ops; break; case IMX_PLLV3_DDR_IMX7: - pll->power_bit = IMX7_ENET_PLL_POWER; + pll->power_bit = IMX7_DDR_PLL_POWER; ops = &clk_pllv3_av_ops; break; default: