diff options
author | Vardan Mikayelyan <mvardan@synopsys.com> | 2018-02-16 14:07:05 +0400 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-13 10:47:53 +0200 |
commit | 631a23108c1a90b726ca99f1f90d48a91737f43d (patch) | |
tree | 3df2b6540e9f176dc39e7039038ead534be0de2d /drivers/usb/core/usb-acpi.c | |
parent | 41ba9b9b95beb8bb101a40c6badbbe49da6af9cd (diff) | |
download | blackbird-op-linux-631a23108c1a90b726ca99f1f90d48a91737f43d.tar.gz blackbird-op-linux-631a23108c1a90b726ca99f1f90d48a91737f43d.zip |
usb: dwc2: Add hibernation field into dwc2_hw_params
Add parameter and it's initialization, needed for hibernation.
Reimplement dwc2_set_param_power_down() to support hibernation too.
Now 'power_down' parameter can be initialized with 0, 1 or 2.
0 - No
1 - Partial power down
2 - Hibernation
Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/core/usb-acpi.c')
0 files changed, 0 insertions, 0 deletions