ASoC: wm_adsp: Use new snd_compr_stop_error to signal stream failure
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 13 Jun 2016 13:17:11 +0000 (14:17 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jun 2016 15:49:51 +0000 (16:49 +0100)
commit8d280664d26538cd37e7c08b1c2b58fe006cc482
tree6c37e4bfe082f53b91e2fc77ad8e681efa8f0953
parent7a75c0d110c77a73d9d154aaddc9cda7744757cf
ASoC: wm_adsp: Use new snd_compr_stop_error to signal stream failure

If we encounter a fatal error on the compressed stream call the new
snd_compr_stop_error to shutdown the stream and allow the core to
inform user-space that the stream is no longer valid.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c