diff options
author | 2025-07-07 13:41:52 +0100 | |
---|---|---|
committer | 2025-07-15 19:45:48 +0100 | |
commit | 5f86d41d0410b072b5f4875ef5d38bf8d18eed55 (patch) | |
tree | ca5617409e8ac43863fadff41c2d237ef84ce57f | |
parent | ASoC: SDCA: Move SDCA search functions and export (diff) | |
download | wireguard-linux-5f86d41d0410b072b5f4875ef5d38bf8d18eed55.tar.xz wireguard-linux-5f86d41d0410b072b5f4875ef5d38bf8d18eed55.zip |
ASoC: soc-dai: Add private data to snd_soc_dai
Add a private data pointer that can be used to store context along
with the DAI. This will be useful to allow the SDCA class library to
store data separately from the CODEC driver itself.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250707124155.2596744-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | include/sound/soc-dai.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index d19ab5572d2b..166c29557e9d 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -463,6 +463,9 @@ struct snd_soc_dai { /* bit field */ unsigned int probed:1; + + /* DAI private data */ + void *priv; }; static inline const struct snd_soc_pcm_stream * |