ASoC: bt-sco: Compatible stereo format

Compatible the platform which unsupported mono channel

Change-Id: Ica417b0c544b0750e6367fdeab45254542135bc4
Signed-off-by: zhangjun <zhangjun@rock-chips.com>
This commit is contained in:
zhangjun
2017-02-15 14:14:25 +08:00
committed by Huang, Tao
parent eb1056fb41
commit d006f4bf26
2 changed files with 3 additions and 3 deletions

View 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

View 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,
},