scsi: ufs: fix up clock hold for UFS card
If UFS card is removed after enter hibern8, there is no chance for its link
state comes back to active. So when driver calls clock hold, we should bail
out so long as clock gating state becomes CLKS_ON to avoid dead loop.
Change-Id: I9f66ab499bdaf127595cd36fd623ef66ecf525ff
Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please register or sign in to comment