Skip to content

Commit

Permalink
ASoC: fsi: remove unnecessary parameter from fsi_hw_shutdown()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Feb 3, 2012
1 parent b49e802 commit 41bba15
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sound/soc/sh/fsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,6 @@ static int fsi_hw_startup(struct fsi_priv *fsi,
}

static void fsi_hw_shutdown(struct fsi_priv *fsi,
int is_play,
struct device *dev)
{
if (fsi_is_clk_master(fsi))
Expand All @@ -947,9 +946,8 @@ static void fsi_dai_shutdown(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
struct fsi_priv *fsi = fsi_get_priv(substream);
int is_play = fsi_is_play(substream);

fsi_hw_shutdown(fsi, is_play, dai->dev);
fsi_hw_shutdown(fsi, dai->dev);
fsi->rate = 0;
}

Expand Down Expand Up @@ -1342,7 +1340,7 @@ static void __fsi_suspend(struct fsi_priv *fsi,
return;

fsi_port_stop(fsi, is_play);
fsi_hw_shutdown(fsi, is_play, dev);
fsi_hw_shutdown(fsi, dev);
}

static void __fsi_resume(struct fsi_priv *fsi,
Expand Down

0 comments on commit 41bba15

Please sign in to comment.