summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/params.c
diff options
context:
space:
mode:
authorVardan Mikayelyan <mvardan@synopsys.com>2018-02-16 11:06:36 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-03-13 09:47:53 +0100
commit41ba9b9b95beb8bb101a40c6badbbe49da6af9cd (patch)
treef4daa3949ccd32cab23c1b0c4116f098cc5b696d /drivers/usb/dwc2/params.c
parentusb: dwc2: Enable LPM (diff)
downloadlinux-41ba9b9b95beb8bb101a40c6badbbe49da6af9cd.tar.xz
linux-41ba9b9b95beb8bb101a40c6badbbe49da6af9cd.zip
usb: dwc2: Rename hibernation to partial_power_down
No-op change, only rename. This code was misnamed originally. It was only responsible for partial power down and not for hibernation. Rename core_params->hibernation to core_params->power_down, dwc2_set_param_hibernation() to dwc2_set_param_power_down(). 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/dwc2/params.c')
-rw-r--r--drivers/usb/dwc2/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index 827f7f81a27c..c64b1ad50712 100644
--- a/drivers/usb/dwc2/params.c
+++ b/drivers/usb/dwc2/params.c
@@ -278,7 +278,7 @@ static void dwc2_set_default_params(struct dwc2_hsotg *hsotg)
p->reload_ctl = (hw->snpsid >= DWC2_CORE_REV_2_92a);
p->uframe_sched = true;
p->external_id_pin_ctl = false;
- p->hibernation = false;
+ p->power_down = false;
p->lpm = true;
p->lpm_clock_gating = true;
p->besl = true;