diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-03-19 11:52:07 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-19 12:36:17 +0000 |
commit | a2bcbc1b9ac2f982a438081a9f1b5d823332d514 (patch) | |
tree | 367a298fd605cfb8c125a360d0c71945c32d9c8d /sound/soc/codecs/wm_adsp.h | |
parent | a2225a6d155fcb247fe4c6d87f7c91807462966d (diff) | |
download | lwn-a2bcbc1b9ac2f982a438081a9f1b5d823332d514.tar.gz lwn-a2bcbc1b9ac2f982a438081a9f1b5d823332d514.zip |
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>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r-- | sound/soc/codecs/wm_adsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 59e07ad16329..8f09b4419a91 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -85,6 +85,7 @@ struct wm_adsp { bool preloaded; bool booted; bool running; + bool fatal_error; struct list_head ctl_list; |