Re: [PATCH] ufs: qcom: Add quirks for Samsung UFS devices

From: Bart Van Assche
Date: Tue Mar 25 2025 - 07:44:02 EST


On 3/25/25 4:38 AM, Manish Pandey wrote:
Introduce quirks for Samsung UFS devices to override PA hibern8 time,
PA TX HSG1 sync length, and TX_HS_EQUALIZER for the Qualcomm UFS Host
controller. These adjustments are essential to maintain the proper
functionality of Samsung UFS devices for Qualcomm UFS Host controller.

Which of these quirks are required for all host controllers and which of
these quirks are only required for Qualcomm host controllers?

+ equalizer_val = (gear == 5) ? DEEMPHASIS_3_5_dB : NO_DEEMPHASIS;

I think that the parenthesis can be removed from the above statement
without reducing readability of the code.

Thanks,

Bart.