diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-03 15:22:18 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 13:27:00 -0500 |
commit | 27f478a65ff7b67b843250f0a2d1e8b306bf57b6 (patch) | |
tree | 571ddba4a399094ed08e4ea0d52f9480f7f64e84 | |
parent | 20e757f79b9956a91f4ba0f33cc3f34efe6eb188 (diff) |
ASoC: Use core pm_runtime callbacks for fsi
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>
-rw-r--r-- | sound/soc/sh/fsi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index a27c30636b82..db6c89a28bda 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -893,8 +893,6 @@ static int fsi_hw_startup(struct fsi_priv *fsi, | |||
893 | u32 flags = fsi_get_info_flags(fsi); | 893 | u32 flags = fsi_get_info_flags(fsi); |
894 | u32 data = 0; | 894 | u32 data = 0; |
895 | 895 | ||
896 | pm_runtime_get_sync(dev); | ||
897 | |||
898 | /* clock setting */ | 896 | /* clock setting */ |
899 | if (fsi_is_clk_master(fsi)) | 897 | if (fsi_is_clk_master(fsi)) |
900 | data = DIMD | DOMD; | 898 | data = DIMD | DOMD; |
@@ -951,8 +949,6 @@ static void fsi_hw_shutdown(struct fsi_priv *fsi, | |||
951 | { | 949 | { |
952 | if (fsi_is_clk_master(fsi)) | 950 | if (fsi_is_clk_master(fsi)) |
953 | fsi_set_master_clk(dev, fsi, fsi->rate, 0); | 951 | fsi_set_master_clk(dev, fsi, fsi->rate, 0); |
954 | |||
955 | pm_runtime_put_sync(dev); | ||
956 | } | 952 | } |
957 | 953 | ||
958 | static int fsi_dai_startup(struct snd_pcm_substream *substream, | 954 | static int fsi_dai_startup(struct snd_pcm_substream *substream, |