aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 9c768bcb98a6..91d592ff67b7 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4155,9 +4155,9 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
4155 ret = of_property_read_string_index(np, propname, 4155 ret = of_property_read_string_index(np, propname,
4156 2 * i, &routes[i].sink); 4156 2 * i, &routes[i].sink);
4157 if (ret) { 4157 if (ret) {
4158 dev_err(card->dev, "ASoC: Property '%s' index %d" 4158 dev_err(card->dev,
4159 " could not be read: %d\n", propname, 2 * i, 4159 "ASoC: Property '%s' index %d could not be read: %d\n",
4160 ret); 4160 propname, 2 * i, ret);
4161 kfree(routes); 4161 kfree(routes);
4162 return -EINVAL; 4162 return -EINVAL;
4163 } 4163 }
@@ -4165,8 +4165,8 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
4165 (2 * i) + 1, &routes[i].source); 4165 (2 * i) + 1, &routes[i].source);
4166 if (ret) { 4166 if (ret) {
4167 dev_err(card->dev, 4167 dev_err(card->dev,
4168 "ASoC: Property '%s' index %d could not be" 4168 "ASoC: Property '%s' index %d could not be read: %d\n",
4169 " read: %d\n", propname, (2 * i) + 1, ret); 4169 propname, (2 * i) + 1, ret);
4170 kfree(routes); 4170 kfree(routes);
4171 return -EINVAL; 4171 return -EINVAL;
4172 } 4172 }