summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Tull <r80115@freescale.com>2010-04-08 11:13:22 -0500
committerAlan Tull <r80115@freescale.com>2010-04-08 11:16:17 -0500
commit138f78f34ee11f40daedf321067dc49bb9e9898a (patch)
tree2a2c02f4b660c74d81366701d3e019577ce35686
parent09335a4c934dbc240d420cecb193fbb9946649a7 (diff)
ENGR00117344 fix mono record during stereo playback
Starting a mono record stream and doing stereo playback resulted in wrong sample rate. Also starting stereo playback then doing mono record. Signed-off-by: Alan Tull <r80115@freescale.com>
-rw-r--r--sound/soc/codecs/sgtl5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index 991088774580..a63b65cdc04d 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -886,7 +886,7 @@ struct snd_soc_dai sgtl5000_dai = {
},
.capture = {
.stream_name = "Capture",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = SGTL5000_RATES,
.formats = SGTL5000_FORMATS,