Skip to content
Snippets Groups Projects
Commit df32137d authored by Mikhail Vanyulin's avatar Mikhail Vanyulin
Browse files

ASoC: bt-sco: fix double definitions of playback and capture streams


This commit fixes following errors and warning in dmesg:
    debugfs: File 'Playback' in directory 'dapm' already present!
    debugfs: File 'Capture' in directory 'dapm' already present!
    asoc-simple-card sound-sco: ASoC: source widget Capture overwritten

Signed-off-by: default avatarMikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
parent 985e047f
No related branches found
No related tags found
1 merge request!202ASoC: fix double definitions of playback and capture streams
......@@ -41,14 +41,14 @@ static struct snd_soc_dai_driver bt_sco_dai[] = {
{
.name = "bt-sco-pcm-wb",
.playback = {
.stream_name = "Playback",
.stream_name = "Playback_8_16",
.channels_min = 1,
.channels_max = 1,
.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
.formats = SNDRV_PCM_FMTBIT_S16_LE,
},
.capture = {
.stream_name = "Capture",
.stream_name = "Capture_8_16",
.channels_min = 1,
.channels_max = 1,
.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment