diff mbox

alsa-lib: topology: fix DSP_B mode string

Message ID 1509539184-16560-1-git-send-email-liam.r.girdwood@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Liam Girdwood Nov. 1, 2017, 12:26 p.m. UTC
Use the correct string for DSP_B mode.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
---
 src/topology/pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai Nov. 1, 2017, 4:42 p.m. UTC | #1
On Wed, 01 Nov 2017 13:26:24 +0100,
Liam Girdwood wrote:
> 
> Use the correct string for DSP_B mode.
> 
> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>

Applied, thanks.


Takashi
diff mbox

Patch

diff --git a/src/topology/pcm.c b/src/topology/pcm.c
index 0f4deb4f..c5e8d465 100644
--- a/src/topology/pcm.c
+++ b/src/topology/pcm.c
@@ -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"))