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

Skip to content
Commit 8f73bf9c authored by Chandra Devireddy's avatar Chandra Devireddy Committed by Manu Gautam
Browse files

USB: ehci-msm2: Replace clk_enable/disable with clk_prepare_xx APIs



clk_prepare and clk_unprepare APIs can be called from non-atomic
context only. Where as clk_enable and clk_disable APIs can be called
from atomic context.
To enable a clock, a driver should call both clk_prepare and
clk_enable. Similarly for disabling a clock - clk_disable and
clk_unprepare should be called.

Change-Id: Ic5cf1c1cc60df9d4e510c719fe6b75d317de2f2f
Signed-off-by: default avatarChandra Devireddy <cdevired@codeaurora.org>
parent 35379a99
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