mmc: cmdq: Add timeout in case of mmc_cmdq_halt_on_empty_queue()

We do see in fault injection framework below CMDQ getting stuck at
mmc_cmdq_halt_on_empty_queue() since error handler is not waking up
the thread which is waiting on empty queue condition.
Add a 10 sec timeout from the issue context to fix this.

Change-Id: Ia9edf908b849f1acbf233cbca13bdb139932b7cd
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
7 files changed