diff options
author | Artur Petrosyan <[email protected]> | 2021-04-16 16:47:22 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-22 11:55:33 +0200 |
commit | 4111d5f805d89cbf6c454357bf8782ba0387bb7c (patch) | |
tree | f68fbd5545c34eb850fb30f211a17caf44acbe3b /lib/mpi/mpi-inline.h | |
parent | 24d209dba5a3959b2ebde7cf3ad40c8015e814cf (diff) |
usb: dwc2: Allow exiting hibernation from gpwrdn rst detect
When device cable is disconnected core receives suspend
interrupt and enters hibernation. After entering
into hibernation GPWRDN_RST_DET and GPWRDN_STS_CHGINT
interrupts are asserted.
Allowed exit from gadget hibernation from
GPWRDN_RST_DET by checking only linestate.
Changed the return type of "dwc2_handle_gpwrdn_intr()"
function from void to int because exit from hibernation
functions have a return value.
Acked-by: Minas Harutyunyan <[email protected]>
Signed-off-by: Artur Petrosyan <[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