]> git.baikalelectronics.ru Git - kernel.git/commit
clk: exynos-audss: convert to platform device
authorAndrew Bresticker <abrestic@chromium.org>
Wed, 25 Sep 2013 21:12:47 +0000 (14:12 -0700)
committerTomasz Figa <t.figa@samsung.com>
Wed, 8 Jan 2014 17:02:41 +0000 (18:02 +0100)
commitad53014ee6cfcc548f30af0423e6e8d3307e6b65
tree9611f57e12078f03290a45381bc9a1bc4aa5c0d3
parente66256240a01fffefa796922be7dc5ef790f10e9
clk: exynos-audss: convert to platform device

The Exynos AudioSS clock controller will later be modified to allow
input clocks to be specified via device-tree in order to support
multiple Exynos SoCs.  This will introduce a dependency on the core
SoC clock controller being initialized first so that the AudioSS driver
can look up its input clocks, but the order in which clock providers
are probed in of_clk_init() is not guaranteed.  Since deferred probing
is not supported in of_clk_init() and the AudioSS block is not the core
controller, we can initialize it later as a platform device.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
drivers/clk/samsung/clk-exynos-audss.c