On 9/12/24 9:38 PM, Bao D. Nguyen wrote:
Hi Bart, IMO the function name ufshcd_process_device_init_result() is not correctly describing the original code. As you can see, the "ret" passed into the function here is from the result of the ufshcd_probe_hba(), not the result of the ufshcd_device_init().
I will rename that function into ufshcd_process_probe_result(). Thanks, Bart.