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:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment