提交 291aaff0 编写于 作者: C Codrut Grosu 提交者: Mark Brown

ASoC: pxa: Remove unneeded else after return statement

This was reported by checkpatch.pl
Signed-off-by: NCodrut Grosu <codrut.cristian.grosu@gmail.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 3e22e9d7
...@@ -140,9 +140,8 @@ static int pxa2xx_ac97_mic_startup(struct snd_pcm_substream *substream, ...@@ -140,9 +140,8 @@ static int pxa2xx_ac97_mic_startup(struct snd_pcm_substream *substream,
{ {
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
return -ENODEV; return -ENODEV;
else snd_soc_dai_set_dma_data(cpu_dai, substream,
snd_soc_dai_set_dma_data(cpu_dai, substream, &pxa2xx_ac97_pcm_mic_mono_in);
&pxa2xx_ac97_pcm_mic_mono_in);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册