From d006f4bf26fa19195b27d2edd5fe4cf773a370c9 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Wed, 15 Feb 2017 14:14:25 +0800 Subject: [PATCH] ASoC: bt-sco: Compatible stereo format Compatible the platform which unsupported mono channel Change-Id: Ica417b0c544b0750e6367fdeab45254542135bc4 Signed-off-by: zhangjun --- sound/soc/codecs/Kconfig | 2 +- sound/soc/codecs/bt-sco.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index ecad264fc2ad..4af77fc06b72 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -461,7 +461,7 @@ config SND_SOC_DW_HDMI_AUDIO depends on RK_HDMI config SND_SOC_BT_SCO - tristate + tristate "bt sco audio" config SND_SOC_DMIC tristate diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c index b084ad113e96..a0f64086f5ab 100644 --- a/sound/soc/codecs/bt-sco.c +++ b/sound/soc/codecs/bt-sco.c @@ -30,14 +30,14 @@ static struct snd_soc_dai_driver bt_sco_dai = { .playback = { .stream_name = "Playback", .channels_min = 1, - .channels_max = 1, + .channels_max = 2, .rates = SNDRV_PCM_RATE_8000, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .capture = { .stream_name = "Capture", .channels_min = 1, - .channels_max = 1, + .channels_max = 2, .rates = SNDRV_PCM_RATE_8000, .formats = SNDRV_PCM_FMTBIT_S16_LE, }, -- 2.34.1