Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8893c003 authored by Dov Levenglick's avatar Dov Levenglick
Browse files

scsi: ufs: fail ufshcd_probe_hba() if power configuration fails



In case the power configuration fails, skip further processing
of the  probing function and return immediately. This has 2 reasons:
1. Don't allow the UFS to continue running in PWM
2. Avoid multiple calls to pm_runtime_put_sync() when not
   in error handling or power management contexts

Change-Id: I8d6faefadf42385aace903f90ab967c6ddcf7460
Signed-off-by: default avatarDov Levenglick <dovl@codeaurora.org>
parent 3a1a7680
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment