commit | fcbcebce7159c928692dc6a5e88869f6e44438b9 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Apr 18 20:16:22 2014 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jul 03 11:32:40 2014 +0100 |
tree | abc91266771d81fe0401da0febbaeba59dd425f8 | |
parent | c334940ea26cb58f5514dcbb225a3f397b2684ad [diff] |
component: ignore multiple additions of the same component Permit masters to call component_master_add_child() and match the same child multiple times. This may happen if there's multiple connections to a single component device from other devices. In such scenarios, we should not return a failure, but instead ignore the attempt. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>