Re: [PATCH 2/2] scsi: ufs: core: Add support to retrieve and store TX Equalization settings

From: Bean Huo

Date: Mon Apr 20 2026 - 18:40:03 EST



>  /* Wrapper functions for safely calling variant operations */
>  static inline const char *ufshcd_get_var_name(struct ufs_hba *hba)
> diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
> index e5e22adcbbc3..bf6deb34a5fe 100644
> --- a/drivers/ufs/core/ufshcd.c
> +++ b/drivers/ufs/core/ufshcd.c
> @@ -9128,6 +9128,8 @@ static int ufshcd_device_params_init(struct ufs_hba
> *hba)
>                 dev_err(hba->dev,
>                         "%s: Failed getting max supported power mode\n",
>                         __func__);
> +
> +       ufshcd_retrieve_tx_eq_settings(hba);

needs to check wspecversion before calling it?



Kind regards,
Bean