diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-16 13:14:48 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-20 12:32:38 +0300 |
commit | fc8bb91bc83ef82868533e75f5a11abc1158ec81 (patch) | |
tree | 77926a39383c848b90336d60328992c67cb1f0d5 /drivers/usb/dwc3/dwc3-pci.c | |
parent | 4cb4221764ef473cd36e1953f1fea11865786d65 (diff) | |
download | linux-fc8bb91bc83ef82868533e75f5a11abc1158ec81.tar.xz |
usb: dwc3: implement runtime PM
this patch implements the most basic pm_runtime
support for dwc3. Whenever USB cable is dettached,
then we will allow core to runtime_suspend.
Runtime suspending will involve completely tearing
down event buffers and require a full soft-reset of
the IP.
Note that a further optimization could be
implemented once we decide to support hibernation,
which is to allow runtime_suspend with cable
connected when bus is in U3. That's subject to a
separate patch, however.
Tested-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
0 files changed, 0 insertions, 0 deletions