scsi: ufs: mark device and link state if probe fails
It seems UFS device state is set to active during probe and it doesn't get
set to off even after probe fails. Because of this UFS device regulators
aren't getting voted off. So mark both device and link state to off if
probe fails which should vote off resources.
Change-Id: I85f193acbf6054223bb300098c719061759667a1
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Loading
Please register or sign in to comment