Commit 478cc9f9 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

ASoC: max98926: add missing \n to end of dev_err/dev_dbg messages

Trival fix, some dev_err and deb_dbg messages are missing a \n, so
add it.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 29b4817d
...@@ -347,7 +347,7 @@ static int max98926_dai_set_fmt(struct snd_soc_dai *codec_dai, ...@@ -347,7 +347,7 @@ static int max98926_dai_set_fmt(struct snd_soc_dai *codec_dai,
max98926_set_sense_data(max98926); max98926_set_sense_data(max98926);
break; break;
default: default:
dev_err(codec->dev, "DAI clock mode unsupported"); dev_err(codec->dev, "DAI clock mode unsupported\n");
return -EINVAL; return -EINVAL;
} }
...@@ -364,7 +364,7 @@ static int max98926_dai_set_fmt(struct snd_soc_dai *codec_dai, ...@@ -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; invert = MAX98926_DAI_BCI_MASK | MAX98926_DAI_WCI_MASK;
break; break;
default: default:
dev_err(codec->dev, "DAI invert mode unsupported"); dev_err(codec->dev, "DAI invert mode unsupported\n");
return -EINVAL; return -EINVAL;
} }
...@@ -408,7 +408,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream, ...@@ -408,7 +408,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream,
max98926->ch_size = 32; max98926->ch_size = 32;
break; break;
default: default:
dev_dbg(codec->dev, "format unsupported %d", dev_dbg(codec->dev, "format unsupported %d\n",
params_format(params)); params_format(params));
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment