[v2,0/3] Two changes of UFS sysfs
mbox series

Message ID 20201224172010.10701-1-huobean@gmail.com
Headers show
  • Two changes of UFS sysfs
Related show


Bean Huo Dec. 24, 2020, 5:20 p.m. UTC
From: Bean Huo <beanhuo@micron.com>


    1. Add new patch "Let resume callback return -EBUSY after ufshcd_shutdown",
       Because the ufshcd_*_resume still returns successful result 0 after
       ufshcd_shutdown(). Even add handling of the return value of
       pm_runtime_get_sync(), but still there is timeout.

Bean Huo (3):
  scsi: ufs: Replace sprintf and snprintf with sysfs_emit
  scsi: ufs: Add handling of the return value of pm_runtime_get_sync()
  scsi: ufs: Let resume callback return -EBUSY after ufshcd_shutdown

 drivers/scsi/ufs/ufs-sysfs.c | 68 +++++++++++++++++++++++++-----------
 drivers/scsi/ufs/ufshcd.c    | 12 ++++---
 2 files changed, 55 insertions(+), 25 deletions(-)