bus: mhi: Update mhi_send_cmd timeout based on DB write
In some cases it takes more than few seconds for resume to occur
from run time suspend which switches MHI from M3 back to M0.
Under such conditions while queuing the start command unless
the host has resumed it will not ring the DB. Currently
the timeout is shorter and does not consider cases where the DB
is written or not. Update mhi_send_cmd to have a different
timeout for cases where the DB is not written yet.
Change-Id: I787e3884c6c2f8dbd569f370728ff6aadb462fe3
Signed-off-by:
Siddartha Mohanadoss <smohanad@codeaurora.org>
Loading
Please register or sign in to comment