mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
bus: mhi: host: Skip power down if RDDM is supported and power up fails
Skip power down if RDDM is supported and power up fails as the CNSS handling requires it. Change-Id: I88a2f9e0ea29dd04f76a3a6facb421ac61789bce Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org> Signed-off-by: Lazarus Motha <quic_lmotha@quicinc.com>
This commit is contained in:
parent
f82f2340d8
commit
d933db57d7
|
|
@ -1238,7 +1238,7 @@ int mhi_sync_power_up(struct mhi_controller *mhi_cntrl)
|
|||
msecs_to_jiffies(mhi_cntrl->timeout_ms));
|
||||
|
||||
ret = (MHI_IN_MISSION_MODE(mhi_cntrl->ee)) ? 0 : -ETIMEDOUT;
|
||||
if (ret)
|
||||
if (ret && !mhi_cntrl->rddm_image)
|
||||
mhi_power_down(mhi_cntrl, false);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user