From: Marcus Cooper <codekip...@gmail.com>

Signed-off-by: Marcus Cooper <codekip...@gmail.com>
---
 sound/soc/sunxi/i2s/sndi2s.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/sunxi/i2s/sndi2s.c b/sound/soc/sunxi/i2s/sndi2s.c
index 2570fef..64b9e2d 100644
--- a/sound/soc/sunxi/i2s/sndi2s.c
+++ b/sound/soc/sunxi/i2s/sndi2s.c
@@ -98,6 +98,13 @@ struct snd_soc_dai_driver sndi2s_dai = {
                .rates          = SNDI2S_RATES,
                .formats        = SNDI2S_FORMATS,
        },
+       .capture                = {
+               .stream_name    = "Capture",
+               .channels_min   = 1,
+               .channels_max   = 2,
+               .rates          = SNDI2S_RATES,
+               .formats        = SNDI2S_FORMATS,
+       },
        /* pcm operations */
        .ops                    = &sndi2s_dai_ops,
        .symmetric_rates        = 1,
-- 
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.

Reply via email to