Skip to content

Commit

Permalink
ASoC: doc: Replace dpcm_playback/capture to playback/capture_assertion
Browse files Browse the repository at this point in the history
.dpcm_playback/capture flags are converted to playback/capture_assertion
flag. Let's follow it on Documentation.

Signed-off-by: Kuninori Morimoto <[email protected]>
  • Loading branch information
morimoto authored and plbossart committed Apr 25, 2024
1 parent b6b4e68 commit e1df624
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/sound/soc/dpcm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ FE DAI links are defined as follows :-
.codec_dai_name = "snd-soc-dummy-dai",
.dynamic = 1,
.trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
.dpcm_playback = 1,
.playback_assertion = 1,
},
.....< other FE and BE DAI links here >
};

This FE DAI link is pretty similar to a regular DAI link except that we also
set the DAI link to a DPCM FE with the ``dynamic = 1``. The supported FE stream
directions should also be set with the ``dpcm_playback`` and ``dpcm_capture``
directions can set with the ``playback_assertion`` and ``capture_assertion``
flags. There is also an option to specify the ordering of the trigger call for
each FE. This allows the ASoC core to trigger the DSP before or after the other
components (as some DSPs have strong requirements for the ordering DAI/DSP
Expand All @@ -189,15 +189,15 @@ The BE DAIs are configured as follows :-
.ignore_pmdown_time = 1,
.be_hw_params_fixup = hswult_ssp0_fixup,
.ops = &haswell_ops,
.dpcm_playback = 1,
.dpcm_capture = 1,
.playback_assertion = 1,
.capture_assertion = 1,
},
.....< other BE DAI links here >
};

This BE DAI link connects DAI0 to the codec (in this case RT5460 AIF1). It sets
the ``no_pcm`` flag to mark it has a BE and sets flags for supported stream
directions using ``dpcm_playback`` and ``dpcm_capture`` above.
directions using ``playback_assertion`` and ``capture_assertion`` above.

The BE has also flags set for ignoring suspend and PM down time. This allows
the BE to work in a hostless mode where the host CPU is not transferring data
Expand Down

0 comments on commit e1df624

Please sign in to comment.