Skip to content

Commit

Permalink
ASoC: Use core pm_runtime callbacks for siu_dai
Browse files Browse the repository at this point in the history
Now that the core holds a pm_runtime reference to the device while the
link is active there is no need for the driver to do so.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Dec 14, 2011
1 parent 45ba82d commit 20e757f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sound/soc/sh/siu_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ static void siu_dai_start(struct siu_port *port_info)

dev_dbg(port_info->pcm->card->dev, "%s\n", __func__);

/* Turn on SIU clock */
pm_runtime_get_sync(info->dev);

/* Issue software reset to siu */
siu_write32(base + SIU_SRCTL, 0);

Expand Down Expand Up @@ -158,9 +155,6 @@ static void siu_dai_stop(struct siu_port *port_info)

/* SIU software reset */
siu_write32(base + SIU_SRCTL, 0);

/* Turn off SIU clock */
pm_runtime_put_sync(info->dev);
}

static void siu_dai_spbAselect(struct siu_port *port_info)
Expand Down

0 comments on commit 20e757f

Please sign in to comment.