[alsa-devel] [PATCH] alsa-lib: topology: fix DSP_B mode string
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(-)
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"))
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
participants (2)
-
Liam Girdwood
-
Takashi Iwai