ASoC: fsl_audmix: Fix kbuild failure
authorViorel Suman <viorel.suman@nxp.com>
Wed, 27 Mar 2019 09:29:38 +0000 (09:29 +0000)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
The format in dev_dbg function must be a constant.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 5fb94d46c3179cb7afd805a5a9252111316a926f)

sound/soc/fsl/fsl_audmix.c

index 3356cb6..dabde03 100644 (file)
@@ -90,7 +90,7 @@ static int fsl_audmix_state_trans(struct snd_soc_component *comp,
        struct fsl_audmix *priv = snd_soc_component_get_drvdata(comp);
        /* Enforce all required TDMs are started */
        if ((priv->tdms & prm.tdms) != prm.tdms) {
-               dev_dbg(comp->dev, prm.msg);
+               dev_dbg(comp->dev, "%s", prm.msg);
                return -EINVAL;
        }