ASoC: bt-sco: Compatible stereo format
authorzhangjun <zhangjun@rock-chips.com>
Wed, 15 Feb 2017 06:14:25 +0000 (14:14 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 15 Feb 2017 09:07:36 +0000 (17:07 +0800)
Compatible the platform which unsupported mono channel

Change-Id: Ica417b0c544b0750e6367fdeab45254542135bc4
Signed-off-by: zhangjun <zhangjun@rock-chips.com>
sound/soc/codecs/Kconfig
sound/soc/codecs/bt-sco.c

index ecad264fc2ad71437b4b7e4ac1abd564a62b3290..4af77fc06b723b5d4b2127c1c1cc65f39436b898 100644 (file)
@@ -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
index b084ad113e967824a6809dd3e3394f18990e3a72..a0f64086f5abb50b5282048eaa9a12141fa77e24 100644 (file)
@@ -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,
        },