dwc3: gadget: Implement the suspend entry event handler
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 16 May 2016 08:43:53 +0000 (16:43 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 08:16:01 +0000 (11:16 +0300)
commit72704f876f50b00f08d41d4b13d5a5d11262254f
tree028a1870fe73d0ea0e309c00f11e4577e8b09492
parentb9b092319be29bf665f1b004679de722b81c9123
dwc3: gadget: Implement the suspend entry event handler

It had changed to be suspend event for BIT6 in DEVT register from
version 2.30a and above. Thus this patch introduces one suspend
event handler to handle the suspend event.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c