OSDN Git Service

ASoC: wm_adsp: Shutdown any compressed streams on DSP watchdog timeout
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 19 Mar 2019 11:52:07 +0000 (11:52 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Mar 2019 12:36:17 +0000 (12:36 +0000)
commita2bcbc1b9ac2f982a438081a9f1b5d823332d514
tree367a298fd605cfb8c125a360d0c71945c32d9c8d
parenta2225a6d155fcb247fe4c6d87f7c91807462966d
ASoC: wm_adsp: Shutdown any compressed streams on DSP watchdog timeout

If a watchdog timeout is received from the DSP it is safe to assume the
DSP is not functioning anymore and as such any active compressed streams
should be put into an error state.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h