Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293184
b: refs/heads/master
c: 3b09bb8
h: refs/heads/master
v: v3
  • Loading branch information
Liam Girdwood authored and Mark Brown committed Jan 20, 2012
1 parent 87c198d commit 9449fc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 350e16d5293b54e2ef105ebd777f43dbe5a15ffa
refs/heads/master: 3b09bb820dda209d5c81e329420ccf36dd30c8eb
8 changes: 5 additions & 3 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,8 @@ int snd_soc_register_card(struct snd_soc_card *card)
*/
if (!!link->codec_name == !!link->codec_of_node) {
dev_err(card->dev,
"Neither/both codec name/of_node are set\n");
"Neither/both codec name/of_node are set for %s\n",
link->name);
return -EINVAL;
}

Expand All @@ -2874,7 +2875,7 @@ int snd_soc_register_card(struct snd_soc_card *card)
*/
if (link->platform_name && link->platform_of_node) {
dev_err(card->dev,
"Both platform name/of_node are set\n");
"Both platform name/of_node are set for %s\n", link->name);
return -EINVAL;
}

Expand All @@ -2884,7 +2885,8 @@ int snd_soc_register_card(struct snd_soc_card *card)
*/
if (!!link->cpu_dai_name == !!link->cpu_dai_of_node) {
dev_err(card->dev,
"Neither/both cpu_dai name/of_node are set\n");
"Neither/both cpu_dai name/of_node are set for %s\n",
link->name);
return -EINVAL;
}
}
Expand Down

0 comments on commit 9449fc4

Please sign in to comment.