projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c15a9e
)
greybus: added warning message in case of missing widget
author
Vaibhav Agarwal
<vaibhav.agarwal@linaro.org>
Thu, 30 Jun 2016 13:15:35 +0000
(18:45 +0530)
committer
Alex Elder
<elder@linaro.org>
Wed, 6 Jul 2016 02:17:54 +0000
(21:17 -0500)
Additional warning message added to notify in case above layer tries to
access widget that is already removed from the list.
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mark.greer@animalcreek.com>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/audio_topology.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/audio_topology.c
b/drivers/staging/greybus/audio_topology.c
index 1bc987449180321d2a3013be042cd8de40408c28..92f2ada60be8bd63017d1c774c84b4c661bbdd0a 100644
(file)
--- a/
drivers/staging/greybus/audio_topology.c
+++ b/
drivers/staging/greybus/audio_topology.c
@@
-99,6
+99,8
@@
static int gbaudio_map_widgetname(struct gbaudio_module_info *module,
if (!strncmp(widget->name, name, NAME_SIZE))
return widget->id;
}
+ dev_warn(module->dev, "%s: missing in modules widgets list\n", name);
+
return -EINVAL;
}