ASoC: msm8960: Remove EOS command while closing session.

At time of pcm_close session is already drained.
Hence no need for EOS command while closing operation as it
adds unnecessary delay.

Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
diff --git a/sound/soc/msm/msm-pcm-lpa.c b/sound/soc/msm/msm-pcm-lpa.c
index f7aa7a6..b1dc17e 100644
--- a/sound/soc/msm/msm-pcm-lpa.c
+++ b/sound/soc/msm/msm-pcm-lpa.c
@@ -307,17 +307,10 @@
 	struct snd_soc_pcm_runtime *soc_prtd = substream->private_data;
 	struct msm_audio *prtd = runtime->private_data;
 	int dir = 0;
-	int ret = 0;
 
 	pr_debug("%s\n", __func__);
 
 	dir = IN;
-	prtd->cmd_ack = 0;
-	q6asm_cmd_nowait(prtd->audio_client, CMD_EOS);
-	ret = wait_event_timeout(the_locks.eos_wait,
-		prtd->cmd_ack, 5 * HZ);
-	if (ret < 0)
-		pr_err("%s: CMD_EOS failed\n", __func__);
 	lpa_audio.prtd = NULL;
 	q6asm_audio_client_buf_free_contiguous(dir,
 				prtd->audio_client);
@@ -430,6 +423,7 @@
 		rc = q6asm_cmd(prtd->audio_client, CMD_FLUSH);
 		if (rc < 0)
 			pr_err("%s: flush cmd failed rc=%d\n", __func__, rc);
+		prtd->cmd_ack = 1;
 		break;
 	default:
 		break;