mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
ASoC: fsi: remove un-necessary variable from fsi_dai_startup
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
cca1b2353a
commit
a68a3b4ed4
1 changed files with 1 additions and 2 deletions
|
@ -730,7 +730,6 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream,
|
|||
u32 data;
|
||||
int is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
|
||||
int is_master;
|
||||
int ret = 0;
|
||||
|
||||
pm_runtime_get_sync(dai->dev);
|
||||
|
||||
|
@ -809,7 +808,7 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream,
|
|||
/* fifo init */
|
||||
fsi_fifo_init(fsi, is_play, dai);
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void fsi_dai_shutdown(struct snd_pcm_substream *substream,
|
||||
|
|
Loading…
Reference in a new issue