platform: msm_shared: move cmd timeout check prior to cmd complete

As per mmc specs, cmd timeout error has higher priority than
cmd complete. This condition was not taken care of
hence move cmd timeout check prior to cmd complete so that
priority is maintained. Also increase the transfer complete
retries to 50 as some mmc cards take longer time
to come to transfer state.

Change-Id: I70b201a4e743f181c72a9ab014fe9eedfc77258a
2 files changed