]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: meson8b: use clk_hw_set_parent in the CPU clock notifier
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 17 Nov 2019 13:59:24 +0000 (14:59 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Wed, 11 Dec 2019 13:06:29 +0000 (14:06 +0100)
commitbba0cd3d9181ea6092f3dbcd69ee0183a504842d
tree1fd6b733bf48b22af0fe0747bd30326dfedb1382
parentb7c3fa870224a400849b430d0c6544f352be80e8
clk: meson: meson8b: use clk_hw_set_parent in the CPU clock notifier

Switch from clk_set_parent() to clk_hw_set_parent() now that we have a
way to configure a mux clock based on clk_hw pointers. This simplifies
the meson8b_cpu_clk_notifier_cb logic. No functional changes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/meson8b.c