clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 26 Dec 2020 12:15:56 +0000 (13:15 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 4 Jan 2021 10:42:43 +0000 (11:42 +0100)
commitccdc1f0836f8e37b558a424f1e491f929b2e7ede
tree4d24d76e03369dfe664e2638b3903717f184f840
parent9e717285f0bd591d716fa0e7418f2cdaf756dd25
clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()

Popagate the error code from meson_clk_pll_set_rate() when the PLL does
not lock with the new settings.

Fixes: 722825dcd54b2e ("clk: meson: migrate plls clocks to clk_regmap")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20201226121556.975418-4-martin.blumenstingl@googlemail.com
drivers/clk/meson/clk-pll.c