On 9/2/22 15:41, Asutosh Das wrote:The default value of MAC is 32 but it can have a max value of 256.
+static int ufs_qcom_get_hba_mac(struct ufs_hba *hba)
+{
+ return MAX_SUPP_MAC;
+}
The above implementation is not sufficient to convince me that the get_hba_mac vop is useful. Please remove this vop and use MAX_SUPP_MAC directly where ufshcd_mcq_vops_get_hba_mac() is called.
Thanks,
Bart.