[PATCH 0/2] clk: Fix lockdep warnings in clk_test

Stephen Boyd
2023-09-12T17:55:37Z

This is a replacement for the series from Maxime[1]. I didn't want to
introduce more wrappers, so this series takes the approach of driving
the test from a clk_op instead. The second patch extends the test to
look at more determine_rate variants. We can probably extend the test
further to set or not set the CLK_SET_RATE_PARENT flag as well but I
didn't do that.

Stephen Boyd (2):
clk: Drive clk_leaf_mux_set_rate_parent test from clk_ops
clk: Parameterize clk_leaf_mux_set_rate_parent

drivers/clk/clk_test.c | 130 +++++++++++++++++++++++++++++++++++------
1 file changed, 113 insertions(+), 17 deletions(-)

Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Maxime Ripard <mripard@kernel.org>

[1] https://lore.kernel.org/r/20230721-clk-fix-kunit-lockdep-v1-0-32cdba4c8fc1@kernel.org

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d