diff options
author | Loic Poulain <[email protected]> | 2021-06-06 21:07:41 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-09 19:04:04 +0200 |
commit | 5f0c2ee1fe8de700dd0d1cdc63e1a7338e2d3a3d (patch) | |
tree | 7799857659ee580da0e1418c7ee60cf15ae160c2 /lib/mpi/mpi-add.c | |
parent | 0b67808ade8893a1b3608ddd74fac7854786c919 (diff) |
bus: mhi: pci-generic: Fix hibernation
This patch fixes crash after resuming from hibernation. The issue
occurs when mhi stack is builtin and so part of the 'restore-kernel',
causing the device to be resumed from 'restored kernel' with a no
more valid context (memory mappings etc...) and leading to spurious
crashes.
This patch fixes the issue by implementing proper freeze/restore
callbacks.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Shujun Wang <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Loic Poulain <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions