Skip to content

Commit

Permalink
ASoC: max98926: add missing \n to end of dev_err/dev_dbg messages
Browse files Browse the repository at this point in the history
Trival fix, some dev_err and deb_dbg messages are missing a \n, so
add it.

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Colin Ian King authored and broonie committed Sep 24, 2016
1 parent 29b4817 commit 478cc9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/codecs/max98926.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 478cc9f

Please sign in to comment.