[PATCH V4 10/11] scsi: ufs: qcom : Introduce phy_power_on/off wrapper function

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Fri May 9 04:37:05 PDT 2025


On 5/3/25 6:24 PM, Nitin Rawat wrote:
> Introduce ufs_qcom_phy_power_on and ufs_qcom_phy_power_off wrapper
> functions with mutex protection to ensure safe usage of is_phy_pwr_on
> and prevent possible race conditions.
> 
> Co-developed-by: Can Guo <quic_cang at quicinc.com>
> Signed-off-by: Can Guo <quic_cang at quicinc.com>
> Signed-off-by: Nitin Rawat <quic_nitirawa at quicinc.com>
> ---

The PHY framework does the same thing internally already, this seems
unnecessary

Konrad



More information about the linux-phy mailing list