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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:37:52 +0000 (11:37 +0100)
commit460538d02a1814cb5c884c76727573593969e832
treed2e75abf46f3c52fa8628bd895e4082de7f634b5
parent02df54191f7f20fb0834a9799bc88e9f6d9498d3
clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()

[ Upstream commit ccdc1f0836f8e37b558a424f1e491f929b2e7ede ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/meson/clk-pll.c