clk: imx: add 'is_prepared' clk_ops callback for pllv3 clk
authorBai Ping <b51503@freescale.com>
Tue, 24 Nov 2015 16:06:53 +0000 (00:06 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 25 Nov 2015 03:50:46 +0000 (11:50 +0800)
commit4824b61c666831e1051530c7f0ff68b0ae6c2511
treea47f6f40e8dabb1e23be14fbe791875e58c8c7dd
parent78ae71ac882fbca3b092656b6fed46f0c2e71dd6
clk: imx: add 'is_prepared' clk_ops callback for pllv3 clk

Add 'is_prepared' callback function for pllv3 type clk to make sure when
the system is bootup, the unused clk is in a known state to match the
prepare count info.

Signed-off-by: Bai Ping <b51503@freescale.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-pllv3.c