[PATCH v4 02/10] clk: take the prepare lock out of clk_core_set_parent

2017-09-24 Thread Jerome Brunet
Rework set_parent core function so it can be called when the prepare lock is already held by the caller. This rework is done to ease the integration of the "protected" clock functionality. Acked-by: Linus Walleij Tested-by: Quentin Schulz

[PATCH v4 02/10] clk: take the prepare lock out of clk_core_set_parent

2017-09-24 Thread Jerome Brunet
Rework set_parent core function so it can be called when the prepare lock is already held by the caller. This rework is done to ease the integration of the "protected" clock functionality. Acked-by: Linus Walleij Tested-by: Quentin Schulz Signed-off-by: Jerome Brunet --- drivers/clk/clk.c |