From: zhangjun Date: Wed, 15 Feb 2017 06:14:25 +0000 (+0800) Subject: ASoC: bt-sco: Compatible stereo format X-Git-Tag: firefly_0821_release~628 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d006f4bf26fa19195b27d2edd5fe4cf773a370c9;p=firefly-linux-kernel-4.4.55.git ASoC: bt-sco: Compatible stereo format Compatible the platform which unsupported mono channel Change-Id: Ica417b0c544b0750e6367fdeab45254542135bc4 Signed-off-by: zhangjun --- 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, },