aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/fsi.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-02-03 03:51:53 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-03 06:55:38 -0500
commit41bba151939e21e21d18f7df005ce3a06714a69a (patch)
tree5e9ba4c098fb114bd95e1457a291a26f64c6e93f /sound/soc/sh/fsi.c
parentb49e8027810b674dc0bf0ba3d629c5fae52d78f3 (diff)
ASoC: fsi: remove unnecessary parameter from fsi_hw_shutdown()
This is preparation for DMAEngine support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r--sound/soc/sh/fsi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 79485ed9fd57..a0a9c367148f 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -927,7 +927,6 @@ static int fsi_hw_startup(struct fsi_priv *fsi,
927} 927}
928 928
929static void fsi_hw_shutdown(struct fsi_priv *fsi, 929static void fsi_hw_shutdown(struct fsi_priv *fsi,
930 int is_play,
931 struct device *dev) 930 struct device *dev)
932{ 931{
933 if (fsi_is_clk_master(fsi)) 932 if (fsi_is_clk_master(fsi))
@@ -947,9 +946,8 @@ static void fsi_dai_shutdown(struct snd_pcm_substream *substream,
947 struct snd_soc_dai *dai) 946 struct snd_soc_dai *dai)
948{ 947{
949 struct fsi_priv *fsi = fsi_get_priv(substream); 948 struct fsi_priv *fsi = fsi_get_priv(substream);
950 int is_play = fsi_is_play(substream);
951 949
952 fsi_hw_shutdown(fsi, is_play, dai->dev); 950 fsi_hw_shutdown(fsi, dai->dev);
953 fsi->rate = 0; 951 fsi->rate = 0;
954} 952}
955 953
@@ -1342,7 +1340,7 @@ static void __fsi_suspend(struct fsi_priv *fsi,
1342 return; 1340 return;
1343 1341
1344 fsi_port_stop(fsi, is_play); 1342 fsi_port_stop(fsi, is_play);
1345 fsi_hw_shutdown(fsi, is_play, dev); 1343 fsi_hw_shutdown(fsi, dev);
1346} 1344}
1347 1345
1348static void __fsi_resume(struct fsi_priv *fsi, 1346static void __fsi_resume(struct fsi_priv *fsi,