From 5fb94d46c3179cb7afd805a5a9252111316a926f Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Wed, 27 Mar 2019 09:29:38 +0000 Subject: ASoC: fsl_audmix: Fix kbuild failure The format in dev_dbg function must be a constant. Signed-off-by: Viorel Suman Signed-off-by: Mark Brown --- sound/soc/fsl/fsl_audmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/fsl/fsl_audmix.c') diff --git a/sound/soc/fsl/fsl_audmix.c b/sound/soc/fsl/fsl_audmix.c index 3356cb617713..dabde0342c95 100644 --- a/sound/soc/fsl/fsl_audmix.c +++ b/sound/soc/fsl/fsl_audmix.c @@ -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; } -- cgit v1.2.3