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

Skip to content
Commit 0457527e authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: qpnp-pdphy: Fix Unbalanced IRQ wake disable warning



If wakeup is not supported for the PD PHY's interrupts,
enable_irq_wake() will return failure. Keep track of this
status and only call disable_irq_wake() if it was successfully
enabled, otherwise kernel warns about unbalanced disable.

Change-Id: Ia3e99d21bbfb226892f6178b9a0d69421e991bb1
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent bc1c5404
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