ASoC: max98926: add missing \n to end of dev_err/dev_dbg messages
authorColin Ian King <colin.king@canonical.com>
Fri, 16 Sep 2016 16:52:16 +0000 (17:52 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 24 Sep 2016 18:43:03 +0000 (19:43 +0100)
Trival fix, some dev_err and deb_dbg messages are missing a \n, so
add it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98926.c

index 8d14adae5cc5c836d634ee5ddcfd5c64e6add1b0..96073d41fab5f38c100dc2e854270e0d1e471c35 100644 (file)
@@ -347,7 +347,7 @@ static int max98926_dai_set_fmt(struct snd_soc_dai *codec_dai,
                max98926_set_sense_data(max98926);
                break;
        default:
-               dev_err(codec->dev, "DAI clock mode unsupported");
+               dev_err(codec->dev, "DAI clock mode unsupported\n");
                return -EINVAL;
        }
 
@@ -364,7 +364,7 @@ static int max98926_dai_set_fmt(struct snd_soc_dai *codec_dai,
                invert = MAX98926_DAI_BCI_MASK | MAX98926_DAI_WCI_MASK;
                break;
        default:
-               dev_err(codec->dev, "DAI invert mode unsupported");
+               dev_err(codec->dev, "DAI invert mode unsupported\n");
                return -EINVAL;
        }
 
@@ -408,7 +408,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream,
                max98926->ch_size = 32;
                break;
        default:
-               dev_dbg(codec->dev, "format unsupported %d",
+               dev_dbg(codec->dev, "format unsupported %d\n",
                        params_format(params));
                return -EINVAL;
        }