summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_logging.h
diff options
context:
space:
mode:
authorEric Chanudet <echanude@redhat.com>2024-01-23 14:28:57 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2024-01-24 21:35:56 -0500
commit10a39667a117daf0c1baaebcbe589715ee79178b (patch)
tree7aacc304af94a0940dc10d8fa3fc8d91a63117cb /drivers/scsi/scsi_logging.h
parent883a8b451cf4c659d5bba0becfc3780394b597c8 (diff)
downloadlinux-stable-10a39667a117daf0c1baaebcbe589715ee79178b.tar.gz
linux-stable-10a39667a117daf0c1baaebcbe589715ee79178b.tar.bz2
linux-stable-10a39667a117daf0c1baaebcbe589715ee79178b.zip
scsi: ufs: qcom: Avoid re-init quirk when gears match
On sa8775p-ride, probing the HBA will go through the UFSHCD_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH path although the power info is the same during the second init. The REINIT quirk only applies starting with controller v4. For these, ufs_qcom_get_hs_gear() reads the highest supported gear when setting the host_params. After the negotiation, if the host and device are on the same gear, it is the highest gear supported between the two. Skip REINIT to save some time. Signed-off-by: Eric Chanudet <echanude@redhat.com> Link: https://lore.kernel.org/r/20240123192854.1724905-4-echanude@redhat.com Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8775p-ride Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_logging.h')
0 files changed, 0 insertions, 0 deletions