[PATCH 00/13] ASoC: Use snd_soc_substream_to_rtd() for accessing private_data
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue Apr 30 07:02:09 PDT 2024
Hi,
Do not open-code snd_soc_substream_to_rtd() when accessing
snd_pcm_substream->private_data. This makes code more consistent with
rest of ASoC and allows in the future to move the field to any other
place or add additional checks in snd_soc_substream_to_rtd().
Best regards,
Krzysztof
---
Krzysztof Kozlowski (13):
ASoC: qcom: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: tegra: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: ti: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: arm: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: amd: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: fsl: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: img: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: kirkwood: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: loongson: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: mediatek: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: meson: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: samsung: Use snd_soc_substream_to_rtd() for accessing private_data
ASoC: sunxi: Use snd_soc_substream_to_rtd() for accessing private_data
sound/arm/pxa2xx-pcm-lib.c | 4 ++--
sound/soc/amd/acp/acp-mach-common.c | 2 +-
sound/soc/amd/acp3x-rt5682-max9836.c | 2 +-
sound/soc/amd/ps/ps-sdw-dma.c | 2 +-
sound/soc/fsl/fsl-asoc-card.c | 2 +-
sound/soc/fsl/imx-card.c | 6 +++---
sound/soc/fsl/imx-hdmi.c | 2 +-
sound/soc/fsl/imx-pcm-rpmsg.c | 6 +++---
sound/soc/img/img-i2s-in.c | 2 +-
sound/soc/img/img-i2s-out.c | 2 +-
sound/soc/kirkwood/kirkwood-dma.c | 2 +-
sound/soc/loongson/loongson_card.c | 2 +-
sound/soc/loongson/loongson_dma.c | 2 +-
sound/soc/mediatek/mt7986/mt7986-afe-pcm.c | 4 ++--
sound/soc/mediatek/mt8186/mt8186-afe-pcm.c | 14 +++++++-------
sound/soc/mediatek/mt8186/mt8186-mt6366.c | 2 +-
sound/soc/mediatek/mt8188/mt8188-afe-pcm.c | 8 ++++----
sound/soc/mediatek/mt8188/mt8188-mt6359.c | 6 +++---
sound/soc/mediatek/mt8195/mt8195-afe-pcm.c | 10 +++++-----
sound/soc/mediatek/mt8195/mt8195-mt6359.c | 4 ++--
sound/soc/meson/aiu-fifo.c | 2 +-
sound/soc/meson/axg-fifo.c | 2 +-
sound/soc/qcom/apq8016_sbc.c | 4 ++--
sound/soc/qcom/qdsp6/q6apm-dai.c | 2 +-
sound/soc/qcom/sc7180.c | 10 +++++-----
sound/soc/qcom/sc7280.c | 12 ++++++------
sound/soc/qcom/sc8280xp.c | 8 ++++----
sound/soc/qcom/sdw.c | 8 ++++----
sound/soc/qcom/sm8250.c | 10 +++++-----
sound/soc/qcom/x1e80100.c | 8 ++++----
sound/soc/samsung/midas_wm1811.c | 2 +-
sound/soc/sunxi/sun50i-dmic.c | 2 +-
sound/soc/tegra/tegra_asoc_machine.c | 2 +-
sound/soc/tegra/tegra_pcm.c | 6 +++---
sound/soc/ti/omap-hdmi.c | 2 +-
35 files changed, 82 insertions(+), 82 deletions(-)
---
base-commit: 82415cf72c7e224be7a6496f3a53c0b365c2fe9d
change-id: 20240430-asoc-snd-substream-clean-924b717d8f54
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
More information about the linux-arm-kernel
mailing list