diff options
author | Johan Hovold <[email protected]> | 2023-04-04 09:25:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 10:18:22 +0200 |
commit | f56d0d29b018b6c19b4d5c60e768b5f90bb20c8d (patch) | |
tree | b6cbcf80d03b926d5d24714577103a1b2a7e063e /drivers/fpga/fpga-mgr.c | |
parent | bdb19d01026a5cccfa437be8adcf2df472c5889e (diff) |
USB: dwc3: drop dead hibernation code
The hibernation code is broken and has never been enabled in mainline
and should thus be dropped.
Specifically, the scratch buffer DMA mapping would have been leaked on
every suspend cycle since commit 51f5d49ad6f0 ("usb: dwc3: core:
simplify suspend/resume operations") if this feature was ever enabled.
The related error handling was also broken and could have resulted in
attempts to unmap never mapped buffers, etc.
This effectively revert commit 0ffcaf3798bf ("usb: dwc3: core: allocate
scratch buffers").
Acked-by: Thinh Nguyen <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions