diff options
-rw-r--r-- | sound/soc/omap/omap-dmic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-dmic.c b/sound/soc/omap/omap-dmic.c index 1bd531d718f9..7fb7703264fa 100644 --- a/sound/soc/omap/omap-dmic.c +++ b/sound/soc/omap/omap-dmic.c | |||
@@ -113,7 +113,6 @@ static int omap_dmic_dai_startup(struct snd_pcm_substream *substream, | |||
113 | 113 | ||
114 | mutex_unlock(&dmic->mutex); | 114 | mutex_unlock(&dmic->mutex); |
115 | 115 | ||
116 | snd_soc_dai_set_dma_data(dai, substream, &dmic->dma_data); | ||
117 | return ret; | 116 | return ret; |
118 | } | 117 | } |
119 | 118 | ||
@@ -417,6 +416,9 @@ static int omap_dmic_probe(struct snd_soc_dai *dai) | |||
417 | 416 | ||
418 | /* Configure DMIC threshold value */ | 417 | /* Configure DMIC threshold value */ |
419 | dmic->threshold = OMAP_DMIC_THRES_MAX - 3; | 418 | dmic->threshold = OMAP_DMIC_THRES_MAX - 3; |
419 | |||
420 | snd_soc_dai_init_dma_data(dai, NULL, &dmic->dma_data); | ||
421 | |||
420 | return 0; | 422 | return 0; |
421 | } | 423 | } |
422 | 424 | ||