UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commit396fda68c32d1abada4dbdefa370f2c6a70c2548
treecb6568c7e17dcb3261110369b7e35d68799c38ad
parent32bfb1dd890ae8a9328d22dfb9eff0a0f1b8245d
UPSTREAM: 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.

Change-Id: I62751ee39a2ff13c1359350a8f6c43c14aa4ea12
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 72704f876f50b00f08d41d4b13d5a5d11262254f)
drivers/usb/dwc3/gadget.c