FROMGIT: usb: common: usb-conn-gpio: Allow wakeup from system suspend
Currently the VBUS/ID detection interrupts are disabled during system suspend. So the USB cable connect/disconnect event can't wakeup the system from low power mode. To allow this, we keep these interrupts enabled and configure them as wakeup capable. This behavior can be controlled through device wakeup source policy by the user space. This was tested and verified on a target. (cherry picked from commit 7afe69ad https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ usb-next) Bug: 234808630 Link: https://lore.kernel.org/r/1653634146-12215-1-git-send-email-quic_prashk@quicinc.com Signed-off-by:Prashanth K <quic_prashk@quicinc.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: I8767f91aa78805984856334821072e0c7986eea0 (cherry picked from commit 564ba930)
Loading
Please sign in to comment