usb: dwc2: gadget: Fix Remote Wakeup interrupt bit clearing
authorMinas Harutyunyan <minas.harutyunyan@synopsys.com>
Wed, 12 Dec 2018 12:44:32 +0000 (16:44 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 17 Jan 2019 13:56:53 +0000 (15:56 +0200)
commit87b6d2c56825c3119a0e64cc208ae6d795810a2e
tree367b8e81d3cbcd52daee59a3ee79b717e79377e6
parentdf28169e1538e4a8bcd8b779b043e5aa6524545c
usb: dwc2: gadget: Fix Remote Wakeup interrupt bit clearing

To clear GINTSTS2_WKUP_ALERT_INT bit in GINTSTS2 register
require to write 1. This bit is implemented as "Write to clear".

Fixes: 187c5298a122 ("usb: dwc2: gadget: Add handler for WkupAlert interrupt")

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