commit | da1410be21bfedd16740aee6d772e669cf4e852f | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Mon Jun 20 16:19:48 2016 +0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Jun 21 10:44:37 2016 +0300 |
tree | 32b30a2faf52ab032a15734b2848a78bb1121cdf | |
parent | 0e146028eebf989e86d3fe9385b76434e954c84e [diff] |
usb: dwc3: gadget: Add the suspend state checking when stopping gadget It will be crash to stop gadget when the dwc3 device had been into suspend state, thus we need to check if the dwc3 device had been into suspend state when UDC try to stop gadget. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>