]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: clean-up clock registration
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 21 Dec 2018 16:02:36 +0000 (17:02 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Jan 2019 14:20:41 +0000 (15:20 +0100)
commitbf1b68d1eb276ddbc5e209659db6e86cbd1692c4
tree09b84cf7f07739d8fb1758e7a790e062186ab200
parent0ba77cda46923c406f9aa032b78aba676f7dba5d
clk: meson: clean-up clock registration

Order, ids and size  between the table of regmap clocks and the onecell
data table could be different.

Set regmap pointer in all the regmap clocks before starting the
registration using the onecell data, to make sure we don't
get into an incoherent situation.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20181221160239.26265-3-jbrunet@baylibre.com
drivers/clk/meson/meson-aoclk.c