msm: mhl: wait for scrpd write permission

Busy flag needs to be reset appropriately for the
subsequent scratchpad write burst operations to
be carried out without using stale value of
this flag. Clear busy flag while the scratchpad is not
running the burst write operation and
indicate when MHL peer grants write permission
onto its scratchpad or retry request permission
before indicating timeout.

Change-Id: Idda463077636b603b8620f620d8e074a6b8cd709
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
3 files changed