Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 95c4b7fa authored by Taniya Das's avatar Taniya Das
Browse files

clk: qcom: Move prepare_enable of XO clock before spinlock



clk_prepare would hold a mutex and as clk_debug_mux_measure_rate has
already acquired a spinlock it would result in a BUG from sleeping context.
Avoid this by moving the prepare_enable before acquiring spinlock.

Change-Id: Ia405c884663ef80e87ae066df09f1c30134faf2e
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent a51b7f60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment