scsi: ufs: Fix ufshcd_probe_hba() return value when fails to reinit
A non-zero return value could come from ufshcd_hba_enable() when the host fails at reinit flow. But ufshcd_probe_hba() didn't take the error value of this case. The patch is to fix this issue. Bug: 160290772 Change-Id: Iedceeaeb056fe9fb519370ec42424e0542a73ed2 Signed-off-by:Leo Liou <leoliou@google.com> Signed-off-by:
Pranav Vashi <neobuddy89@gmail.com>
Loading
Please register or sign in to comment