ASoC: Use core pm_runtime callbacks for siu_dai
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 3 Dec 2011 20:21:32 +0000 (20:21 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Dec 2011 18:26:58 +0000 (02:26 +0800)
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>
sound/soc/sh/siu_dai.c

index 11c608570820734f30eafd31d2bba8525f6a7e38..52d4c17b12325ac079ed8b0cb65950c382290344 100644 (file)
@@ -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)