summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Zhang <b13634@freescale.com>2011-12-30 16:39:41 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:19:43 +0800
commit0a73b42a5e94d71e4455a6712598f1e0a56b12a0 (patch)
treee975bea22b0cb4fcdc64ae56054b22d322220fc8
parent30d567d66580ee25f8fb9757d5e79f13065022d3 (diff)
ENGR00171026 SGTL5000: remove mono support
there is a issue on 24bit mono transmit of sgtl5000, temporarily disable mono support Signed-off-by: Gary Zhang <b13634@freescale.com>
-rw-r--r--sound/soc/codecs/sgtl5000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index be219ac9e093..fd055146192d 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -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,