Commit 511d53ac authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mark Brown

ASoC: doc: Fix typos in dpcm.rst

This patch fixes a few typos in the DPCM documentation.
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a50e3269
...@@ -13,7 +13,7 @@ drivers that expose several ALSA PCMs and can route to multiple DAIs. ...@@ -13,7 +13,7 @@ drivers that expose several ALSA PCMs and can route to multiple DAIs.
The DPCM runtime routing is determined by the ALSA mixer settings in the same The DPCM runtime routing is determined by the ALSA mixer settings in the same
way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM
graph representing the DSP internal audio paths and uses the mixer settings to graph representing the DSP internal audio paths and uses the mixer settings to
determine the patch used by each ALSA PCM. determine the path used by each ALSA PCM.
DPCM re-uses all the existing component codec, platform and DAI drivers without DPCM re-uses all the existing component codec, platform and DAI drivers without
any modifications. any modifications.
...@@ -101,7 +101,7 @@ The audio driver processes this as follows :- ...@@ -101,7 +101,7 @@ The audio driver processes this as follows :-
4. Machine driver or audio HAL enables the speaker path. 4. Machine driver or audio HAL enables the speaker path.
5. DPCM runs the PCM ops for startup(), hw_params(), prepapre() and 5. DPCM runs the PCM ops for startup(), hw_params(), prepare() and
trigger(start) for DAI1 Speakers since the path is enabled. trigger(start) for DAI1 Speakers since the path is enabled.
In this example, the machine driver or userspace audio HAL can alter the routing In this example, the machine driver or userspace audio HAL can alter the routing
...@@ -221,7 +221,7 @@ like a BT phone call :- ...@@ -221,7 +221,7 @@ like a BT phone call :-
This allows the host CPU to sleep while the DSP, MODEM DAI and the BT DAI are This allows the host CPU to sleep while the DSP, MODEM DAI and the BT DAI are
still in operation. still in operation.
A BE DAI link can also set the codec to a dummy device if the code is a device A BE DAI link can also set the codec to a dummy device if the codec is a device
that is managed externally. that is managed externally.
Likewise a BE DAI can also set a dummy cpu DAI if the CPU DAI is managed by the Likewise a BE DAI can also set a dummy cpu DAI if the CPU DAI is managed by the
...@@ -249,7 +249,7 @@ configuration. ...@@ -249,7 +249,7 @@ configuration.
struct snd_interval *channels = hw_param_interval(params, struct snd_interval *channels = hw_param_interval(params,
SNDRV_PCM_HW_PARAM_CHANNELS); SNDRV_PCM_HW_PARAM_CHANNELS);
/* The DSP will covert the FE rate to 48k, stereo */ /* The DSP will convert the FE rate to 48k, stereo */
rate->min = rate->max = 48000; rate->min = rate->max = 48000;
channels->min = channels->max = 2; channels->min = channels->max = 2;
...@@ -386,5 +386,3 @@ This means creating a new FE that is connected with a virtual path to both ...@@ -386,5 +386,3 @@ This means creating a new FE that is connected with a virtual path to both
DAI links. The DAI links will be started when the FE PCM is started and stopped DAI links. The DAI links will be started when the FE PCM is started and stopped
when the FE PCM is stopped. Note that the FE PCM cannot read or write data in when the FE PCM is stopped. Note that the FE PCM cannot read or write data in
this configuration. this configuration.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment