summaryrefslogtreecommitdiffstats
path: root/Documentation/ptp
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2019-03-24 17:43:27 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2019-03-25 13:18:09 +0100
commitd6f987c8462ab97591fbd6ed6bea6df61d2919e5 (patch)
treea50f07f47d6748c8ea904b52780ee40c84b650e9 /Documentation/ptp
parent9e05e49c29fde3f5e0d82542cb89e26c0bc828d0 (diff)
downloadblackbird-op-linux-d6f987c8462ab97591fbd6ed6bea6df61d2919e5.tar.gz
blackbird-op-linux-d6f987c8462ab97591fbd6ed6bea6df61d2919e5.zip
clk: meson: pll: fix rounding and setting a rate that matches precisely
Make meson_clk_pll_is_better() consider a rate that precisely matches the requested rate to be better than any previous rate (which was smaller than the current). Prior to commit 8eed1db1adec6a ("clk: meson: pll: update driver for the g12a") meson_clk_get_pll_settings() returned early (before calling meson_clk_pll_is_better()) if the rate from the current iteration matches the requested rate precisely. After this commit meson_clk_pll_is_better() is called unconditionally. This requires meson_clk_pll_is_better() to work with the case where "now == rate". This fixes a hang during boot on Meson8b / Odroid-C1 for me. Fixes: 8eed1db1adec6a ("clk: meson: pll: update driver for the g12a") Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lkml.kernel.org/r/20190324164327.22590-2-martin.blumenstingl@googlemail.com
Diffstat (limited to 'Documentation/ptp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud