ASoC: wm_adsp: Make compressed buffers optional
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 10 Feb 2022 17:20:52 +0000 (17:20 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 11 Feb 2022 10:31:23 +0000 (10:31 +0000)
commit0f1d41a85bda6f3502634fe15fa21bfee4c668a4
treedd711cc6535d5a025eb67b6246e99ec098c3b62d
parent9193bc0558d1812343039b510797b669f054efc5
ASoC: wm_adsp: Make compressed buffers optional

Newer firmwares will support compressed buffers that may or may not
exist, for example debugging streams. Update the driver to make a
compressed stream optional. A warning will still be generated at DSP
boot time and opening the stream will fail if the compressed buffer in
question does not exist, however the DSP can still be booted and other
features used.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220210172053.22782-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c