From: Marcus Cooper <codekip...@gmail.com> The settings for snd_pcm_set_ops are set twice.
Signed-off-by: Marcus Cooper <codekip...@gmail.com> --- sound/soc/sunxi/sunxi-codec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/sunxi/sunxi-codec.c b/sound/soc/sunxi/sunxi-codec.c index 741ac72..fe61cd4 100644 --- a/sound/soc/sunxi/sunxi-codec.c +++ b/sound/soc/sunxi/sunxi-codec.c @@ -1500,9 +1500,6 @@ static int __init snd_card_sunxi_codec_pcm(struct sunxi_codec *sunxi_codec, snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &sunxi_pcm_capture_ops); - snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, - &sunxi_pcm_playback_ops); - snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &sunxi_pcm_capture_ops); /* Set pcm-> private_data specific data for the chip */ pcm->private_data = sunxi_codec; pcm->info_flags = 0; -- 1.9.1 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.