Merge branch 'asoc-5.2' into asoc-next
[sfrench/cifs-2.6.git] / sound / soc / soc-pcm.c
index 69ea962de58564c2170905c26e083eb49f72917f..0a4f60c7a188cd6c81122f5dbe5d413921df897e 100644 (file)
@@ -2172,6 +2172,10 @@ int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream)
                        }
                }
 
+               /* copy the fixed-up hw params for BE dai */
+               memcpy(&be->dpcm[stream].hw_params, &dpcm->hw_params,
+                      sizeof(struct snd_pcm_hw_params));
+
                /* only allow hw_params() if no connected FEs are running */
                if (!snd_soc_dpcm_can_be_params(fe, be, stream))
                        continue;