From bbbe3eb09e58ee541e5d44e02234f5510a2cc885 Mon Sep 17 00:00:00 2001 From: Alan Tull Date: Thu, 8 Apr 2010 11:13:22 -0500 Subject: [PATCH] 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 --- 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 99108877458..a63b65cdc04 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,