]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ASoC: tlv320aic3x: Remove mono support
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Tue, 29 Jan 2013 20:31:48 +0000 (21:31 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Jan 2013 02:15:21 +0000 (10:15 +0800)
Playing a mono stream on the TLV320AIC3x results in too fast playback rate.

Remove mono support so that mono streams can be played correctly on this codec.

Tested with imx-ssi (i.MX25) and TLV320AIC3104.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c

index 5708a973a77627a21c71143ff7e7622ab47314ee..49891432af740c5ed81bcebc74d2e72de229aee3 100644 (file)
@@ -1210,13 +1210,13 @@ static struct snd_soc_dai_driver aic3x_dai = {
        .name = "tlv320aic3x-hifi",
        .playback = {
                .stream_name = "Playback",
-               .channels_min = 1,
+               .channels_min = 2,
                .channels_max = 2,
                .rates = AIC3X_RATES,
                .formats = AIC3X_FORMATS,},
        .capture = {
                .stream_name = "Capture",
-               .channels_min = 1,
+               .channels_min = 2,
                .channels_max = 2,
                .rates = AIC3X_RATES,
                .formats = AIC3X_FORMATS,},