diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2018-09-05 15:21:02 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-05 17:11:32 +0100 |
commit | 243bcfafcd9a23a20867fd488dc3a35264918d87 (patch) | |
tree | 2f4ea29569699456cbd13825b2b4b5b55c9ad524 /include/sound/soc.h | |
parent | 4a75aae17b2a802a7267206414050408392c374c (diff) | |
download | linux-243bcfafcd9a23a20867fd488dc3a35264918d87.tar.gz linux-243bcfafcd9a23a20867fd488dc3a35264918d87.tar.bz2 linux-243bcfafcd9a23a20867fd488dc3a35264918d87.zip |
ASoC: dapm: Move CODEC to CODEC params from the widget to the runtime
Larger CODECs may contain many several hundred widgets and which set of
parameters is selected only needs to be recorded on a per DAI basis. As
such move the selected CODEC to CODEC link params to be stored in the
runtime rather than the DAPM widget, to save some memory.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 6b68b31e3140..821bf99992b8 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1130,6 +1130,8 @@ struct snd_soc_pcm_runtime { enum snd_soc_pcm_subclass pcm_subclass; struct snd_pcm_ops ops; + unsigned int params_select; /* currently selected param for dai link */ + /* Dynamic PCM BE runtime data */ struct snd_soc_dpcm_runtime dpcm[2]; int fe_compr; |