]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: remove dpcm_xxx flags
authorMark Brown <broonie@kernel.org>
Wed, 23 Oct 2024 17:07:47 +0000 (18:07 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 23 Oct 2024 17:07:47 +0000 (18:07 +0100)
commita77e6c12cd9755cff27a3ed8bafe403284d46bb8
tree397aa5da9a13471e4e1f4bfe57a2d0759ccd24c9
parent9c2e48ee9aa64f609709eeb120cf728d66d4a145
parenta6ff8572fd3fafe3f0f39e94ad8d4b6c88de7e03
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.