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

Skip to content
Commit 6c84f205 authored by Manu Gautam's avatar Manu Gautam Committed by Gerrit - the friendly Code Review server
Browse files

usb: phy: qusb: Rely on regulator_enable() for ref_counting



USB PHY regulators are enabled either by USB core driver for
regular USB operation or by Charger driver before performing
charger detection. To prevent race conditions between these
two, PHY driver currently maintains reference counting in
qusb_phy_enable_power().
Get rid of this reference counting in the driver as
regulator framework already takes care of same.

Change-Id: If0cdb43fe103c81cd94aeb6ff77bf982282f1164
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 7b57d70b
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