Re: [PATCH v2 2/3] scsi: ufs: qcom: Map devfreq OPP freq to UniPro Core Clock freq

From: Bean Huo
Date: Thu May 08 2025 - 05:21:47 EST


On Wed, 2025-05-07 at 15:44 +0800, Ziqi Chen wrote:
> -       return ufs_qcom_set_core_clk_ctrl(hba, freq);
> +       return ufs_qcom_set_core_clk_ctrl(hba, false, freq);
>  }
>  
>  static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba, bool scale_up,
> @@ -2081,11 +2100,53 @@ static int ufs_qcom_config_esi(struct ufs_hba *hba)
>         return ret;
>  }
>  
> +static unsigned long ufs_qcom_opp_freq_to_clk_freq(struct ufs_hba *hba,
> +                                                                                                  unsigned long freq, char *name)


This tab indentation is strange!


> +{
> +       struct ufs_clk_info *clki