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

Skip to content
Commit 377d56b8 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

power: supply: smb5-lib: Disable type-C IRQs when locking power role



Locking current power roles before power role swap would generate a
series of type-C interrupts which are not expected from usbpd driver.
So disable type-C interrupts before locking the power role and
re-enable them before switching power roles.

Change-Id: Ia2d80a7b64113124928f75bb41f7daa5682db28c
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 773b595b
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