mbox series

[0/3] usb: dwc2: Fix hibernation for switching between host and device modes.

Message ID cover.1537451080.git.arturp@synopsys.com (mailing list archive)
Headers show
Series usb: dwc2: Fix hibernation for switching between host and device modes. | expand

Message

Artur Petrosyan Sept. 20, 2018, 1:49 p.m. UTC
This patch set, fixes and improves hibernation flow. Mainly, fixes
hibernation for switching between host and device modes.

Adds enabling/disabling of power optimization parameter.


Artur Petrosyan (3):
  usb: dwc2: Add default param to control power optimization.
  usb: dwc2: Update dwc2_handle_usb_suspend_intr function.
  usb: dwc2: Fix hibernation between host and device modes.

 drivers/usb/dwc2/core.h      |  3 +++
 drivers/usb/dwc2/core_intr.c | 32 ++++++++++++++++----------------
 drivers/usb/dwc2/debugfs.c   |  2 ++
 drivers/usb/dwc2/hcd.c       |  3 +++
 drivers/usb/dwc2/params.c    | 19 +++++++++++++------
 5 files changed, 37 insertions(+), 22 deletions(-)