clk: imx: clk-pllv3: fix incorrect handle of enet powerdown bit
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 8 Jun 2016 14:33:30 +0000 (22:33 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 13 Jun 2016 02:53:32 +0000 (10:53 +0800)
commitb3e76bdc0b2190e67427d31cd740debd01c03631
tree22137cbe214b5a8e32f76591fe4231fbb50ee43b
parentf83d31635cd65dd10eddaac1809b9e400d385d43
clk: imx: clk-pllv3: fix incorrect handle of enet powerdown bit

After commit f53947456f98 ("ARM: clk: imx: update pllv3 to support imx7"),
the former used BM_PLL_POWER bit is not correct anymore for IMX7 ENET.
Instead, pll->powerdown holds the correct bit, so using powerdown bit
in clk_pllv3_{prepare | unprepare} functions.

Fixes: f53947456f98 ("ARM: clk: imx: update pllv3 to support imx7")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-pllv3.c