mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "asoc: fix for applying parameters for codec dma"
This commit is contained in:
commit
5aa93412f6
1 changed files with 3 additions and 0 deletions
|
|
@ -9405,6 +9405,9 @@ static int msm_dai_q6_cdc_dma_hw_params(
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
dai_data->rate = params_rate(params);
|
||||
dai_data->channels = params_channels(params);
|
||||
|
||||
dai_data->port_config.cdc_dma.cdc_dma_cfg_minor_version =
|
||||
AFE_API_VERSION_CODEC_DMA_CONFIG;
|
||||
dai_data->port_config.cdc_dma.sample_rate = dai_data->rate;
|
||||
|
|
|
|||
Loading…
Reference in a new issue