[RFC PATCH v2 4/4] ufshcd_set_vccq_rail_unused locks up the board
From: Marc Gonzalez
Date: Wed Jan 16 2019 - 06:02:14 EST
Better solution required.
Suggestions? A quirk?
Specify that the vccq rail cannot be disabled in the DT?
---
drivers/scsi/ufs/ufshcd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 9ba7671b84f8..d0d340210ccf 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -7196,6 +7196,7 @@ static int ufshcd_set_vccq_rail_unused(struct ufs_hba *hba, bool unused)
{
int ret = 0;
struct ufs_vreg_info *info = &hba->vreg_info;
+ return 0; /*** NOP ***/
if (!info)
goto out;
--
2.17.1