Re: [PATCH v3 2/2] scsi: ufs: core: reflect function execution result in return

From: Bart Van Assche
Date: Tue Oct 15 2024 - 14:14:09 EST


On 10/10/24 12:52 AM, SEO HOYOUNG wrote:
If an error is returned in the power mode function, it is returned and
modified to cause failure in the UFS linkup.
If it is an asymmetric connected lane, the UFS init can fail because it is
an incorrect situation.

Why is this an incorrect situation? If ufshcd_get_max_pwr_mode() fails,
won't communication succeed with a lower power mode than maximum power?

Thanks,

Bart.