commit | ee5f1042b20e1ffbc5c7eb0e0883fdbc05cec85f | [log] [tgz] |
---|---|---|
author | Stanley Chu <stanley.chu@mediatek.com> | Tue May 21 14:44:52 2019 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jun 18 19:46:23 2019 -0400 |
tree | 90e056f19fe096a05c206e45b444c9e2ab5a3acb | |
parent | a1b6fb947f92352bc8edab901d773306c5b80b8b [diff] |
scsi: ufs: Introduce ufshcd_is_auto_hibern8_supported() The checking of Auto-Hibernation support is used in many places in the driver, thus re-factor it as ufshcd_is_auto_hibern8_supported() to make code more clean. Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Avri Altman <Avri.Altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>