platform: msm_shared: Add timeout for utp command completions

Currently we only check for the UTRCS and UTMRCS from the IS register in
an infinite loop. This change introduces a timeout before which the
command is expected to be complete.

Change-Id: I33c898debff5a71b41c8868caccb847af2bfc69b
diff --git a/platform/msm_shared/include/utp.h b/platform/msm_shared/include/utp.h
index e7a6df9..ff55f22 100644
--- a/platform/msm_shared/include/utp.h
+++ b/platform/msm_shared/include/utp.h
@@ -47,6 +47,7 @@
 #define UTP_MUTEX_ACQUIRE_TIMEOUT                          0x100000
 
 #define UTP_GENERIC_CMD_TIMEOUT                            40000
+#define UTP_MAX_COMMAND_RETRY                              5000000
 
 struct utp_prdt_entry
 {