ASoC: Intel: Atom: Fix message handling during drop stream
authorHarsha Priya <harshapriya.n@intel.com>
Wed, 31 Aug 2016 06:13:05 +0000 (23:13 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 19:52:13 +0000 (20:52 +0100)
commitde34dcfe70576792a6312f9af4a1f880182b2d3b
tree7a9d7aca4cf8043c81248934e335b158563e0820
parent979cf59acc9d634cc140aadd0d2915947ab303cc
ASoC: Intel: Atom: Fix message handling during drop stream

If a stream is being dropped, the period_elapsed received then after
need not be processed. Processing of the period_elapsed message causes
a time out in drop stream response processing. This patch adds a condition
to skip period_elapsed message processing if the stream is in INIT state.

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Signed-off-by: Naveen M <naveen.m@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_ipc.c