diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2020-12-07 11:31:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 22:16:09 +0300 |
commit | 4ae3573c571e598c0d3325a54ddf69ea7b3c023f (patch) | |
tree | 84e380c7404ad2eba971f738f742a74cd0851cb3 /drivers/ide | |
parent | 5f9c3d64050504d3f4bd85660949464ce086f6eb (diff) | |
download | linux-4ae3573c571e598c0d3325a54ddf69ea7b3c023f.tar.xz |
scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()
[ Upstream commit af423534d2de86cd0db729a5ac41f056ca8717de ]
The expectation for suspend-to-disk is that devices will be powered-off, so
the UFS device should be put in PowerDown mode. If spm_lvl is not 5, then
that will not happen. Change the pm callbacks to force spm_lvl 5 for
suspend-to-disk poweroff.
Link: https://lore.kernel.org/r/20201207083120.26732-3-adrian.hunter@intel.com
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions