From: Bean Huo <bean...@micron.com> Changelog:
V1---v2: 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(-) -- 2.17.1