summaryrefslogtreecommitdiff
path: root/sound/soc/soc-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-utils.c')
-rw-r--r--sound/soc/soc-utils.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 5e63365..29b211e 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -75,11 +75,7 @@ static const struct snd_pcm_hardware dummy_dma_hardware = {
static int dummy_dma_open(struct snd_pcm_substream *substream)
{
- struct snd_soc_pcm_runtime *rtd = substream->private_data;
-
- /* BE's dont need dummy params */
- if (!rtd->dai_link->no_pcm)
- snd_soc_set_runtime_hwparams(substream, &dummy_dma_hardware);
+ snd_soc_set_runtime_hwparams(substream, &dummy_dma_hardware);
return 0;
}