forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/sound/soc/dpcm.rst
....@@ -13,7 +13,7 @@
1313 The DPCM runtime routing is determined by the ALSA mixer settings in the same
1414 way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM
1515 graph representing the DSP internal audio paths and uses the mixer settings to
16
-determine the patch used by each ALSA PCM.
16
+determine the path used by each ALSA PCM.
1717
1818 DPCM re-uses all the existing component codec, platform and DAI drivers without
1919 any modifications.
....@@ -101,7 +101,7 @@
101101
102102 4. Machine driver or audio HAL enables the speaker path.
103103
104
-5. DPCM runs the PCM ops for startup(), hw_params(), prepapre() and
104
+5. DPCM runs the PCM ops for startup(), hw_params(), prepare() and
105105 trigger(start) for DAI1 Speakers since the path is enabled.
106106
107107 In this example, the machine driver or userspace audio HAL can alter the routing
....@@ -218,10 +218,10 @@
218218 * * <----DAI5-----> FM
219219 *************
220220
221
-This allows the host CPU to sleep whilst the DSP, MODEM DAI and the BT DAI are
221
+This allows the host CPU to sleep while the DSP, MODEM DAI and the BT DAI are
222222 still in operation.
223223
224
-A BE DAI link can also set the codec to a dummy device if the code is a device
224
+A BE DAI link can also set the codec to a dummy device if the codec is a device
225225 that is managed externally.
226226
227227 Likewise a BE DAI can also set a dummy cpu DAI if the CPU DAI is managed by the
....@@ -249,7 +249,7 @@
249249 struct snd_interval *channels = hw_param_interval(params,
250250 SNDRV_PCM_HW_PARAM_CHANNELS);
251251
252
- /* The DSP will covert the FE rate to 48k, stereo */
252
+ /* The DSP will convert the FE rate to 48k, stereo */
253253 rate->min = rate->max = 48000;
254254 channels->min = channels->max = 2;
255255
....@@ -386,5 +386,3 @@
386386 DAI links. The DAI links will be started when the FE PCM is started and stopped
387387 when the FE PCM is stopped. Note that the FE PCM cannot read or write data in
388388 this configuration.
389
-
390
-