···1313The DPCM runtime routing is determined by the ALSA mixer settings in the same1414way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM1515graph representing the DSP internal audio paths and uses the mixer settings to1616-determine the patch used by each ALSA PCM.1616+determine the path used by each ALSA PCM.17171818DPCM re-uses all the existing component codec, platform and DAI drivers without1919any modifications.···1011011021024. Machine driver or audio HAL enables the speaker path.103103104104-5. DPCM runs the PCM ops for startup(), hw_params(), prepapre() and104104+5. DPCM runs the PCM ops for startup(), hw_params(), prepare() and105105 trigger(start) for DAI1 Speakers since the path is enabled.106106107107In this example, the machine driver or userspace audio HAL can alter the routing···221221This allows the host CPU to sleep while the DSP, MODEM DAI and the BT DAI are222222still in operation.223223224224-A BE DAI link can also set the codec to a dummy device if the code is a device224224+A BE DAI link can also set the codec to a dummy device if the codec is a device225225that is managed externally.226226227227Likewise a BE DAI can also set a dummy cpu DAI if the CPU DAI is managed by the···249249 struct snd_interval *channels = hw_param_interval(params,250250 SNDRV_PCM_HW_PARAM_CHANNELS);251251252252- /* The DSP will covert the FE rate to 48k, stereo */252252+ /* The DSP will convert the FE rate to 48k, stereo */253253 rate->min = rate->max = 48000;254254 channels->min = channels->max = 2;255255···386386DAI links. The DAI links will be started when the FE PCM is started and stopped387387when the FE PCM is stopped. Note that the FE PCM cannot read or write data in388388this configuration.389389-390390-