Commit b1bc7b3c authored by Mark Brown's avatar Mark Brown

ASoC: pcm: Report error code when we fail to init platform

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f110bfc7
......@@ -2100,7 +2100,9 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
if (platform->driver->pcm_new) {
ret = platform->driver->pcm_new(rtd);
if (ret < 0) {
dev_err(platform->dev, "ASoC: pcm constructor failed\n");
dev_err(platform->dev,
"ASoC: pcm constructor failed: %d\n",
ret);
return ret;
}
}
......
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