diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-10-10 16:47:39 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-10-11 05:37:50 +0200 |
commit | 589a2004881f0941ca46146a5de68b3666d1d54a (patch) | |
tree | cc3d39101420d6769bb39c7e1737f861c109de65 /drivers/clk/mediatek/clk-mux.c | |
parent | clk: Update req_rate on __clk_recalc_rates() (diff) | |
download | linux-589a2004881f0941ca46146a5de68b3666d1d54a.tar.xz linux-589a2004881f0941ca46146a5de68b3666d1d54a.zip |
clk: tests: Add tests for notifiers
We're recently encountered a regression due to the rates reported
through the clk_notifier_data being off when changing parents.
Let's add a test suite and a test to make sure that we do get notified
and with the proper rates.
Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20221010-rpi-clk-fixes-again-v1-2-d87ba82ac404@cerno.tech
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mux.c')
0 files changed, 0 insertions, 0 deletions