+40
−35
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Current code is not turning OFF or de-vote below clocks on USB cable
disconnect:
clk_gcc_usb_phy_cfg_ahb2phy_clk
clk_gcc_rx1_usb2_clkref_clk
clk_ln_bb_clk
This results into more power consumpation as well leakage current.
Hence fix this issue by handling clock usage properly here.
Also DP_DM handling requires ahb2phy_clk, hence makes sure to turn ON and
OFF this clock.
Change-Id: Ib39c64f221e0f0718b3cff389f579d7bafedda40
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>