aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-03 15:21:32 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-14 13:26:58 -0500
commit20e757f79b9956a91f4ba0f33cc3f34efe6eb188 (patch)
treef74630d790aaed7e5bfd618bffc89bfc16f426e5 /sound
parent45ba82d81741398ec4f097fedf2c204704d53b6b (diff)
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')
-rw-r--r--sound/soc/sh/siu_dai.c6
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)
112 112
113 dev_dbg(port_info->pcm->card->dev, "%s\n", __func__); 113 dev_dbg(port_info->pcm->card->dev, "%s\n", __func__);
114 114
115 /* Turn on SIU clock */
116 pm_runtime_get_sync(info->dev);
117
118 /* Issue software reset to siu */ 115 /* Issue software reset to siu */
119 siu_write32(base + SIU_SRCTL, 0); 116 siu_write32(base + SIU_SRCTL, 0);
120 117
@@ -158,9 +155,6 @@ static void siu_dai_stop(struct siu_port *port_info)
158 155
159 /* SIU software reset */ 156 /* SIU software reset */
160 siu_write32(base + SIU_SRCTL, 0); 157 siu_write32(base + SIU_SRCTL, 0);
161
162 /* Turn off SIU clock */
163 pm_runtime_put_sync(info->dev);
164} 158}
165 159
166static void siu_dai_spbAselect(struct siu_port *port_info) 160static void siu_dai_spbAselect(struct siu_port *port_info)