Skip to content

ASoC: Constify snd_compress_ops

Rikard Falkeborn alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: cs47125: Constify static struct snd_compress_opssound/soc/codecs/cs47l24.c+1 -10 replies
2/5ASoC: wm5102: Constify static struct snd_compress_opssound/soc/codecs/wm5102.c+1 -10 replies
3/5ASoC: wm5110: Constify static struct snd_compress_opssound/soc/codecs/wm5110.c+1 -10 replies
4/5ASoC: qcom: q6asm-dai: Constify static struct snd_compress_opssound/soc/qcom/qdsp6/q6asm-dai.c+1 -11 reply
5/5ASoC: SOF: Intel: Constify sof_probe_compressed_opssound/soc/sof/compress.c sound/soc/sof/compress.h+2 -20 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchSrinivas Kandagatla
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] ASoC: Constify snd_compress_ops

The only use of the static and global snd_compress_ops structs is to assign their address to the compress_ops field in the snd_soc_component_driver struct which is a pointer to const. Make them const to allow the compiler to put them in read-only memory.

Rikard Falkeborn (5):
ASoC: cs47125: Constify static struct snd_compress_ops
ASoC: wm5102: Constify static struct snd_compress_ops
ASoC: wm5110: Constify static struct snd_compress_ops
ASoC: qcom: q6asm-dai: Constify static struct snd_compress_ops
ASoC: SOF: Intel: Constify sof_probe_compressed_ops

 sound/soc/codecs/cs47l24.c       | 2 +-
 sound/soc/codecs/wm5102.c        | 2 +-
 sound/soc/codecs/wm5110.c        | 2 +-
 sound/soc/qcom/qdsp6/q6asm-dai.c | 2 +-
 sound/soc/sof/compress.c         | 2 +-
 sound/soc/sof/compress.h         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.31.1