diff options
author | Artur Petrosyan <[email protected]> | 2021-04-16 16:48:34 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-22 11:55:34 +0200 |
commit | 0112b7ce68ea85d4e88a5baf32d007c1e3856661 (patch) | |
tree | 1a982bd4049a9dd4ac0d42b32ef9a29d9464d010 /lib/mpi/mpi-inline.h | |
parent | a94f01814be4fb46fb89c08209f808b665182763 (diff) |
usb: dwc2: Update dwc2_handle_usb_suspend_intr function.
To avoid working in two modes (partial power down
and hibernation) changed conditions for entering
partial power down or hibernation.
Instead of checking hw_params.power_optimized and
hw_params.hibernation now checking power_down
param which already set to one of the options
(Hibernation or Partial Power Down) based on
OTG_EN_PWROPT.
Acked-by: Minas Harutyunyan <[email protected]>
Signed-off-by: Artur Petrosyan <[email protected]>
Signed-off-by: Minas Harutyunyan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions