drivers: qcom: rpmh: break down wait_for_completion

Instead of waiting for a response from the mailbox controller
indefinitely, timeout after a period and retry again. Also, after a
certain number of failures initiate a controller debug.

Change-Id: I73c4d69d789d6e3907a82515b8007f558369b83b
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
1 file changed