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

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

usb: phy: qusb2: 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: I3b7286c7feb2137736136a8e1b253e6451238f49
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent e81dc0f1
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