Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[deliverable/linux.git] / sound / soc / omap / omap-dmic.c
index 9c73c0c70d39f32f0679bd0b641f09f837ee50b8..0855c1cfa7fd84df5d66d3ab190682a250438b17 100644 (file)
@@ -114,7 +114,6 @@ static int omap_dmic_dai_startup(struct snd_pcm_substream *substream,
        mutex_lock(&dmic->mutex);
 
        if (!dai->active) {
-               pm_runtime_get_sync(dmic->dev);
                snd_pcm_hw_constraint_msbits(substream->runtime, 0, 32, 24);
                dmic->active = 1;
        } else {
@@ -133,10 +132,8 @@ static void omap_dmic_dai_shutdown(struct snd_pcm_substream *substream,
 
        mutex_lock(&dmic->mutex);
 
-       if (!dai->active) {
-               pm_runtime_put_sync(dmic->dev);
+       if (!dai->active)
                dmic->active = 0;
-       }
 
        mutex_unlock(&dmic->mutex);
 }
This page took 0.079775 seconds and 5 git commands to generate.