Skip to contentSkip to conversation

alsa-lib: topology: fix DSP_B mode string

PATCH Applied Liam Girdwood 2 participants 2 messages Nov 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-lib: topology: fix DSP_B mode string

Use the correct string for DSP_B mode.

---
 src/topology/pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/topology/pcm.c +1 -1
index 0f4deb4f..c5e8d465 100644
@@ -997,7 +997,7 @@ static int get_audio_hw_format(const char *val)
 	if (!strcmp(val, "DSP_A"))
 		return SND_SOC_DAI_FORMAT_DSP_A;
 
-	if (!strcmp(val, "LEFT_B"))
+	if (!strcmp(val, "DSP_B"))
 		return SND_SOC_DAI_FORMAT_DSP_B;
 
 	if (!strcmp(val, "AC97"))
Signature · 1 line
2.11.0