From: Shengjiu Wang <shengjiu.wang@nxp.com>
To: vkoul@kernel.org, perex@perex.cz, tiwai@suse.com,
alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com,
Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com,
lgirdwood@gmail.com, broonie@kernel.org,
linuxppc-dev@lists.ozlabs.org
Subject: [RFC PATCH v2 1/6] ALSA: compress: reserve space in snd_compr_metadata.key for private usage
Date: Fri, 16 Aug 2024 18:42:34 +0800 [thread overview]
Message-ID: <1723804959-31921-2-git-send-email-shengjiu.wang@nxp.com> (raw)
In-Reply-To: <1723804959-31921-1-git-send-email-shengjiu.wang@nxp.com>
Reserve the key value which is larger than 0x80000000 for driver
private usage. Driver may define its own key values which are not
public in ALSA header
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
include/uapi/sound/compress_offload.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h
index 98772b0cbcb7..7e9190538df2 100644
--- a/include/uapi/sound/compress_offload.h
+++ b/include/uapi/sound/compress_offload.h
@@ -120,7 +120,7 @@ enum sndrv_compress_encoder {
/**
* struct snd_compr_metadata - compressed stream metadata
- * @key: key id
+ * @key: key id, value larger than 0x80000000 reserved for driver private usage
* @value: key value
*/
struct snd_compr_metadata {
--
2.34.1
next prev parent reply other threads:[~2024-08-16 11:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 10:42 [RFC PATCH v2 0/6] ASoC: fsl: add memory to memory function for ASRC Shengjiu Wang
2024-08-16 10:42 ` Shengjiu Wang [this message]
2024-08-16 10:42 ` [RFC PATCH v2 2/6] ASoC: fsl_asrc: define functions for memory to memory usage Shengjiu Wang
2024-08-16 10:42 ` [RFC PATCH v2 3/6] ASoC: fsl_easrc: " Shengjiu Wang
2024-08-16 10:42 ` [RFC PATCH v2 4/6] ASoC: fsl_asrc_m2m: Add memory to memory function Shengjiu Wang
2024-08-19 6:42 ` Pierre-Louis Bossart
2024-08-20 2:53 ` Shengjiu Wang
2024-08-20 6:59 ` Pierre-Louis Bossart
2024-08-20 7:37 ` Shengjiu Wang
2024-08-20 7:42 ` Jaroslav Kysela
2024-08-20 7:52 ` Shengjiu Wang
2024-08-20 8:30 ` Pierre-Louis Bossart
2024-08-16 10:42 ` [RFC PATCH v2 5/6] ASoC: fsl_asrc: register m2m platform device Shengjiu Wang
2024-08-16 10:42 ` [RFC PATCH v2 6/6] ASoC: fsl_easrc: " Shengjiu Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1723804959-31921-2-git-send-email-shengjiu.wang@nxp.com \
--to=shengjiu.wang@nxp.com \
--cc=Xiubo.Lee@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=festevam@gmail.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=nicoleotsuka@gmail.com \
--cc=perex@perex.cz \
--cc=shengjiu.wang@gmail.com \
--cc=tiwai@suse.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).