ASoC: wm1250-ev1: Support stereo
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Apr 2012 18:38:31 +0000 (19:38 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 Apr 2012 13:10:19 +0000 (14:10 +0100)
Springbank can support stereo, though it is primarily intended for mono
use cases.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm1250-ev1.c

index e7a599a78170a50f19566e43b3e774685ce0e621..0766b5fabae7a0fa105e3728ba4bee1fd55265df 100644 (file)
@@ -84,14 +84,14 @@ static struct snd_soc_dai_driver wm1250_ev1_dai = {
        .playback = {
                .stream_name = "Playback",
                .channels_min = 1,
-               .channels_max = 1,
+               .channels_max = 2,
                .rates = SNDRV_PCM_RATE_8000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE,
        },
        .capture = {
                .stream_name = "Capture",
                .channels_min = 1,
-               .channels_max = 1,
+               .channels_max = 2,
                .rates = SNDRV_PCM_RATE_8000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE,
        },