summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Zhang <b13634@freescale.com>2011-12-30 16:39:41 +0800
committerGary Zhang <b13634@freescale.com>2011-12-31 12:48:38 +0800
commitb968666701eaa394db216d8d7fa6bf78e40f9a51 (patch)
tree687aced4bc1a1a7fec563caa600aa5d2c1f45bb1
parentff3b85a3f8ac4e7f51b683077c4ce40116a4b49f (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 00fa1c5612c4..6a423dafb9cf 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -1152,7 +1152,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,
@@ -1163,7 +1163,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,