platform: msm_shared: Handle ep command complete event

EP command complete event can come at any stage & should not
be treated as panic. Handle ep command complete event for
all the stages.

CRs-Fixed: 610286
Change-Id: I5bd1d23239b623c3bae3acb9477d81e88cbe8a58
diff --git a/platform/msm_shared/usb30_dwc.c b/platform/msm_shared/usb30_dwc.c
index 9aa36cc..35b5c6c 100644
--- a/platform/msm_shared/usb30_dwc.c
+++ b/platform/msm_shared/usb30_dwc.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -867,6 +867,12 @@
 
 	switch (event_id)
 	{
+	case DWC_EVENT_EP_CMD_COMPLETE:
+	{
+		dwc_dep_cmd_id_t cmd = DWC_EVENT_EP_EVENT_CMD_TYPE(*event);
+		DBG("\n cmd = %s has no action. ignored.", cmd_lookup[cmd]);
+	}
+		break;
 	case DWC_EVENT_EP_XFER_NOT_READY:
 		{
 			if (event_ctrl_stage == CONTROL_DATA_REQUEST)
@@ -923,6 +929,12 @@
 
 	switch (event_id)
 	{
+	case DWC_EVENT_EP_CMD_COMPLETE:
+	{
+		dwc_dep_cmd_id_t cmd = DWC_EVENT_EP_EVENT_CMD_TYPE(*event);
+		DBG("\n cmd = %s has no action. ignored.", cmd_lookup[cmd]);
+	}
+		break;
 	case DWC_EVENT_EP_XFER_NOT_READY:
 		{
 			if (event_ctrl_stage == CONTROL_DATA_REQUEST)/* data request */