ASoC: wm_adsp: Fix typo in algorithm list warning message
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Fri, 26 May 2017 09:47:07 +0000 (10:47 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 May 2017 11:18:21 +0000 (12:18 +0100)
The list terminator is 0xbedead but the message warning if it
wasn't found was showing that 0xbeadead was expected.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

index 5aff83b..65c059b 100644 (file)
@@ -1888,7 +1888,7 @@ static void *wm_adsp_read_algs(struct wm_adsp *dsp, size_t n_algs,
        }
 
        if (be32_to_cpu(val) != 0xbedead)
-               adsp_warn(dsp, "Algorithm list end %x 0x%x != 0xbeadead\n",
+               adsp_warn(dsp, "Algorithm list end %x 0x%x != 0xbedead\n",
                          pos + len, be32_to_cpu(val));
 
        alg = kzalloc(len * 2, GFP_KERNEL | GFP_DMA);