[PATCH v2] scsi: ufs: Avoid runtime suspend possibly being blocked forever
Martin K. Petersen
martin.petersen at oracle.com
Tue Jun 18 19:51:10 PDT 2019
Stanley,
> UFS runtime suspend can be triggered after pm_runtime_enable()
> is invoked in ufshcd_pltfrm_init(). However if the first runtime
> suspend is triggered before binding ufs_hba structure to ufs
> device structure via platform_set_drvdata(), then UFS runtime
> suspend will be no longer triggered in the future because its
> dev->power.runtime_error was set in the first triggering and does
> not have any chance to be cleared.
Applied to 5.2/scsi-fixes. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-mediatek
mailing list