diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-03 21:21:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 19:26:58 +0100 |
commit | 20e757f79b9956a91f4ba0f33cc3f34efe6eb188 (patch) | |
tree | f74630d790aaed7e5bfd618bffc89bfc16f426e5 /sound/soc/sh/siu_dai.c | |
parent | ASoC: Tune the accessory detection rates for WM8996 (diff) | |
download | linux-20e757f79b9956a91f4ba0f33cc3f34efe6eb188.tar.xz linux-20e757f79b9956a91f4ba0f33cc3f34efe6eb188.zip |
ASoC: Use core pm_runtime callbacks for siu_dai
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>
Diffstat (limited to 'sound/soc/sh/siu_dai.c')
-rw-r--r-- | sound/soc/sh/siu_dai.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/sh/siu_dai.c index 11c608570820..52d4c17b1232 100644 --- a/sound/soc/sh/siu_dai.c +++ b/sound/soc/sh/siu_dai.c @@ -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); @@ -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) |