summaryrefslogtreecommitdiff
path: root/drivers/hwmon/adt7462.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-04-04 10:25:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 11:18:22 +0300
commitf56d0d29b018b6c19b4d5c60e768b5f90bb20c8d (patch)
treeb6cbcf80d03b926d5d24714577103a1b2a7e063e /drivers/hwmon/adt7462.c
parentbdb19d01026a5cccfa437be8adcf2df472c5889e (diff)
downloadlinux-f56d0d29b018b6c19b4d5c60e768b5f90bb20c8d.tar.xz
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 <Thinh.Nguyen@synopsys.com> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20230404072524.19014-6-johan+linaro@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/adt7462.c')
0 files changed, 0 insertions, 0 deletions