diff options
author | Vardan Mikayelyan <mvardan@synopsys.com> | 2018-02-16 13:08:27 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-13 11:47:54 +0300 |
commit | 20fe440982e72dc6440297d7111d71ac2cda70dd (patch) | |
tree | 86ab8d8dca7ad971e930e9e2990f3938fe21f336 /drivers/usb/dwc2/platform.c | |
parent | 9a5d2816b8560320ac625e8ae6cfc0d36ea0f52b (diff) | |
download | linux-20fe440982e72dc6440297d7111d71ac2cda70dd.tar.xz |
usb: dwc2: core: Add hibernated flag
Added a flag to indicate that core is in hibernation,
it is used to determine the hibernation state of the core.
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/platform.c')
-rw-r--r-- | drivers/usb/dwc2/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 65e1af5e491a..7d80e6360a5a 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c @@ -458,6 +458,7 @@ static int dwc2_driver_probe(struct platform_device *dev) } platform_set_drvdata(dev, hsotg); + hsotg->hibernated = 0; dwc2_debugfs_init(hsotg); |