Merge pull request #176 from zhigang-wu/topic/fw-panic

Revert "dai: ignore data on capture stop"
diff --git a/src/audio/dai.c b/src/audio/dai.c
index a71f6bb..bfe2141 100644
--- a/src/audio/dai.c
+++ b/src/audio/dai.c
@@ -94,10 +94,6 @@
 
 		/* inform waiters */
 		wait_completed(&dd->complete);
-
-		/* for capture do nothing to avoid buffer ptr inconsistency */
-		if (dev->params.direction == SOF_IPC_STREAM_CAPTURE)
-			return;
 	}
 
 	/* is our pipeline handling an XRUN ? */