summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-10-23 20:07:47 +0300
committerMark Brown <broonie@kernel.org>2024-10-23 20:07:47 +0300
commita77e6c12cd9755cff27a3ed8bafe403284d46bb8 (patch)
tree397aa5da9a13471e4e1f4bfe57a2d0759ccd24c9 /include
parent9c2e48ee9aa64f609709eeb120cf728d66d4a145 (diff)
parenta6ff8572fd3fafe3f0f39e94ad8d4b6c88de7e03 (diff)
downloadlinux-a77e6c12cd9755cff27a3ed8bafe403284d46bb8.tar.xz
ASoC: remove dpcm_xxx flags
Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>: Now, we don't need to use dpcm_playback/capture flags for DPCM since v6.11, and thus we can use playback/capture_only flags instead too for DPCM, which is same as non-DPCM. Let's remove dpcm_playback/capture flags, and use playback/capture_only flags instead. [Before] [After] dpcm_playback = 1; /* no setting is needed */ dpcm_capture = 1; dpcm_playback = 1; playback_only = 1; dpcm_capture = 0; dpcm_playback = 0; capture_only = 1; dpcm_capture = 1; And then, because no-one uses dpcm_xxx flags, we don't need to have the code for both DPCM and non-DPCM. These can be handled by same code.
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 8a1db45988ba..3e72317e2c20 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -820,11 +820,6 @@ struct snd_soc_dai_link {
/* This DAI link can route to other DAI links at runtime (Frontend)*/
unsigned int dynamic:1;
- /* REMOVE ME */
- /* DPCM capture and Playback support */
- unsigned int dpcm_capture:1;
- unsigned int dpcm_playback:1;
-
/* DPCM used FE & BE merged format */
unsigned int dpcm_merged_format:1;
/* DPCM used FE & BE merged channel */