ASoC: fsl_audmix: Fix kbuild failure
authorViorel Suman <viorel.suman@nxp.com>
Wed, 27 Mar 2019 09:29:38 +0000 (09:29 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 27 Mar 2019 12:31:24 +0000 (12:31 +0000)
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>
sound/soc/fsl/fsl_audmix.c

index 3356cb617713674d755878aa17777fdaaaad3b16..dabde0342c9585a5647ebd33e1482696cff85405 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;
        }