]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00171026 SGTL5000: remove mono support
authorGary Zhang <b13634@freescale.com>
Fri, 30 Dec 2011 08:39:41 +0000 (16:39 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:45 +0000 (08:33 +0200)
there is a issue on 24bit mono transmit of sgtl5000,
temporarily disable mono support

Signed-off-by: Gary Zhang <b13634@freescale.com>
sound/soc/codecs/sgtl5000.c

index be219ac9e0930ad1cff6b8570dfd1cd1f814cd18..fd055146192d1bc1990b8a02eb1e852a3b0315c0 100644 (file)
@@ -1193,7 +1193,7 @@ static struct snd_soc_dai_driver sgtl5000_dai = {
        .name = "sgtl5000",
        .playback = {
                .stream_name = "Playback",
-               .channels_min = 1,
+               .channels_min = 2,
                .channels_max = 2,
                /*
                 * only support 8~48K + 96K,
@@ -1204,7 +1204,7 @@ static struct snd_soc_dai_driver sgtl5000_dai = {
        },
        .capture = {
                .stream_name = "Capture",
-               .channels_min = 1,
+               .channels_min = 2,
                .channels_max = 2,
                .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_96000,
                .formats = SGTL5000_FORMATS,