clk: prevent orphan clocks from being used
From: Heiko Stuebner <heiko@...> Date: Sun, 12 Apr 2015 01:52:51 +0200
Commit-Message
Orphan clocks or children of orphan clocks don't have rate information at all and can produce strange results if they're allowed to be used and the parent becomes available later on. So using the newly introduced orphan status bit defer __of_clk_get_from_provider calls for orphan clocks. Signed-off-by: Heiko Stuebner <heiko@...> Cc: Boris Brezillon <boris.brezillon@...> Cc: Alex Elder <elder@...> Cc: Alexandre Belloni <alexandre.belloni@...> Cc: Stephen Warren <swarren@...> Cc: Max Filippov <jcmvbkbc@...> Cc: kernel@pengutronix.de Cc: Zhangfei Gao <zhangfei.gao@...> Cc: Santosh Shilimkar <ssantosh@...> Cc: Chao Xie <chao.xie@...> Cc: Jason Cooper <jason@...> Cc: Stefan Wahren <stefan.wahren@...> Cc: Andrew Bresticker <abrestic@...> Cc: Robert Jarzmik <robert.jarzmik@...> Cc: Georgi Djakov <georgi.djakov@...> Cc: Sylwester Nawrocki <s.nawrocki@...> Cc: Geert Uytterhoeven <geert+renesas@...> Cc: Barry Song <baohua@...> Cc: Dinh Nguyen <dinguyen@...> Cc: Viresh Kumar <viresh.linux@...> Cc: Gabriel FERNANDEZ <gabriel.fernandez@...> Cc: emilio@elopez.com.ar Cc: Peter De Schrijver <pdeschrijver@...> Cc: Tero Kristo <t-kristo@...> Cc: Ulf Hansson <ulf.hansson@...> Cc: Pawel Moll <pawel.moll@...> Cc: Michal Simek <michal.simek@...>
Patch-Comment
drivers/clk/clk.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Statistics
- 13 lines added
- 0 lines removed