Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283902
b: refs/heads/master
c: beaff34
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Dec 8, 2011
1 parent e20d03b commit 2095613
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06d07b6b1cf46ad1bfd15ab1ba84c0d7ee6dab31
refs/heads/master: beaff340e04fc3a752aa2cca70195dd506deccef
5 changes: 0 additions & 5 deletions trunk/sound/soc/omap/omap-mcpdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ static int omap_mcpdm_dai_startup(struct snd_pcm_substream *substream,
mutex_lock(&mcpdm->mutex);

if (!dai->active) {
pm_runtime_get_sync(mcpdm->dev);

/* Enable watch dog for ES above ES 1.0 to avoid saturation */
if (omap_rev() != OMAP4430_REV_ES1_0) {
u32 ctrl = omap_mcpdm_read(mcpdm, MCPDM_REG_CTRL);
Expand Down Expand Up @@ -295,9 +293,6 @@ static void omap_mcpdm_dai_shutdown(struct snd_pcm_substream *substream,
omap_mcpdm_stop(mcpdm);
omap_mcpdm_close_streams(mcpdm);
}

if (!omap_mcpdm_active(mcpdm))
pm_runtime_put_sync(mcpdm->dev);
}

mutex_unlock(&mcpdm->mutex);
Expand Down

0 comments on commit 2095613

Please sign in to comment.