scsi: ufs: support vops pre suspend for mediatek to disable auto-hibern8

peter.wang at mediatek.com peter.wang at mediatek.com
Tue Oct 5 06:27:36 PDT 2021


From: Peter Wang <peter.wang at mediatek.com>

Mediatek UFS design need disable auto-hibern8 before suspend.
This patch introduce an solution to do pre suspned before SSU
(sleep) command.

Peter Wang (2):
  scsi: ufs: support vops pre suspend
  scsi: ufs: ufs-mediatek: disable auto-hibern8 before suspend

 drivers/scsi/ufs/ufs-exynos.c   |  6 ++-
 drivers/scsi/ufs/ufs-hisi.c     |  6 ++-
 drivers/scsi/ufs/ufs-mediatek.c | 68 ++++++++++++++++++++++++++++++++-
 drivers/scsi/ufs/ufs-mediatek.h | 20 ++++++++++
 drivers/scsi/ufs/ufs-qcom.c     |  6 ++-
 drivers/scsi/ufs/ufshcd.c       |  9 ++++-
 drivers/scsi/ufs/ufshcd.h       |  8 ++--
 7 files changed, 114 insertions(+), 9 deletions(-)

-- 
2.18.0




More information about the Linux-mediatek mailing list