OSDN Git Service

usb: dwc2: gadget: enable WKUP_ALERT interrupt
authorGrigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>
Wed, 29 Aug 2018 17:02:28 +0000 (21:02 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:50:34 +0000 (10:50 +0300)
commit4abe453750db8ada8b0a56c45c89ab18920e9a80
treeafe4a2d70ed84bbc846677c7f17b5daf949c1755
parent15d9dbf8cbd4fc777a7fc92209903dbb47d0783e
usb: dwc2: gadget: enable WKUP_ALERT interrupt

WKUP_ALERT interrupt should be unmask when lpm mode is enabled.

This interrupt is asserted when the device is in L1 for the duration
mentioned in GREFCLK.SOF_CNN_WKUP_ALERT. This is used to alert SW to
initiate Remote wake up so that the device resumes in time in order not
to lose sync with the host frame number.

Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c