From c78db387d42e7379a114c1b13c3ee0f69be0afd2 Mon Sep 17 00:00:00 2001 From: Alan Tull Date: Thu, 8 Apr 2010 11:13:22 -0500 Subject: 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 Signed-off-by: Alejandro Gonzalez --- sound/soc/codecs/sgtl5000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3