]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit346c053c803a5ac511a582e63e4d70d21e10cfee
tree7a9d7aca4cf8043c81248934e335b158563e0820
parentb26f1c7dd9fbc44a69d8bdba8fad85617051106a
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