Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

From: Jeffrey Hugo
Date: Mon Feb 04 2019 - 15:23:55 EST


On 2/4/2019 12:51 PM, Avri Altman wrote:

This reverts commit 60f0187031c05e04cbadffb62f557d0ff3564490.

Calling ufshcd_set_vccq_rail_unused hangs my system.
It seems vccq is not *not* needed.
This patch essentially implements the UFS_DEVICE_NO_VCCQ quirk,
Which is needed for both Samsung and Hynix devices.

Needed, or optimal?
I'm rather sure Marc's device has a Samsung UFS chip, as do my devices and we've seen nothing but benefit from the proposed revert.

Once acked by those vendors, can be removed from the quirk list as well.

Thanks,
Avri

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@xxxxxxx>


--
Jeffrey Hugo
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.