]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: meson: gxbb: protect against holes in the onecell_data array
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 28 Mar 2017 08:47:22 +0000 (10:47 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Fri, 7 Apr 2017 14:50:44 +0000 (16:50 +0200)
commita70c6e06ed7c8c84612c7e3dada9d6895b65c70a
tree0ab74266ff4fa3a9adf4416722e7ea0b11f0332b
parentfd33f3eca6bfb0bba9b928ba28a6c6c16f7243ad
clk: meson: gxbb: protect against holes in the onecell_data array

The clock controller is getting more complex and it might be possible, in
the future, to have holes in the clk_hw_onecell_data array. Just make sure
we skip those holes if it ever happens.

Acked-by: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/gxbb.c