summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-04 20:57:05 +0000
committerMark Brown <broonie@kernel.org>2015-02-04 20:57:05 +0000
commit3223d9c62c536677aa826ff42e22fafa672bf266 (patch)
tree4b41c5ef7fe2e1513ecc1855d2da794e58eb47a2
parent3967752a578441a88cb905c3ccdecd7c502eb932 (diff)
parent90cc7f1cbbde49c0919953928c225c036ece0d9c (diff)
Merge remote-tracking branch 'asoc/topic/pcm' into asoc-next
-rw-r--r--sound/soc/soc-pcm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index eb87d96e2cf0..0ae0e2a9eed7 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -746,7 +746,8 @@ static int soc_pcm_prepare(struct snd_pcm_substream *substream)
codec_dai);
if (ret < 0) {
dev_err(codec_dai->dev,
- "ASoC: DAI prepare error: %d\n", ret);
+ "ASoC: codec DAI prepare error: %d\n",
+ ret);
goto out;
}
}
@@ -755,8 +756,8 @@ static int soc_pcm_prepare(struct snd_pcm_substream *substream)
if (cpu_dai->driver->ops && cpu_dai->driver->ops->prepare) {
ret = cpu_dai->driver->ops->prepare(substream, cpu_dai);
if (ret < 0) {
- dev_err(cpu_dai->dev, "ASoC: DAI prepare error: %d\n",
- ret);
+ dev_err(cpu_dai->dev,
+ "ASoC: cpu DAI prepare error: %d\n", ret);
goto out;
}
}