base: wait for DSP STOP ack
base: wait for DSP STOP ack

This patch is applied to make sure that the STOP command has been
processed at DSP. This would ensure that proper state and data handling
at DSP on receiving STOP command, which helps in proper clean-up at
deletion phase.

This patch also solves loss of last 2-3 output buffers during recording
or playback.

Signed-off-by: Pooja Kushalappa <861d7f17c570c7146cf6adb131bdeda0de9caaa2@aricent.com>
Signed-off-by: Felipe Contreras <de77a8b9cd239b204c19c52ed62e48ab47243362@nokia.com>

community-ssu/gst-dsp,felipec/gst-dsp,felipec/gst-dsp,community-ssu/gst-dsp,community-ssu/gst-dsp