component: do not stop components lookup after first fail
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): CGME20181206141159eucas1p2d8855194db968d33f30a82f0fe1ae638@eucas1p2.samsung.com
PATCH 1/1 component: do not stop components lookup after first fail
Currently showing content of /sys/kernel/debug/device_component/* works partially, in case one of the components is not available this and all remaining components have status not-registered, but the problem is only with the first one.
Allowing to finish lookup for other components in case one is missing solves the issue.
Signed-off-by Andrzej Hajda <[email protected]>
--- drivers/base/component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/component.c +1 -1
@@ -179,7 +179,7 @@ static int find_components(struct master *master) c =find_component (master, mc->compare, mc->data);if (!c) { ret = -ENXIO ; -break ; +continue ; }dev_dbg (master->dev,"found component %s, duplicate %u\n" ,dev_name (c->dev), !!c->master);
Signature · 1 line
2.17.1