]> git.baikalelectronics.ru Git - kernel.git/commit
of: property: Make sure child dependencies don't block probing of parent
authorSaravana Kannan <saravanak@google.com>
Mon, 28 Oct 2019 22:00:25 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Nov 2019 17:05:18 +0000 (18:05 +0100)
commitd12c3b647cb6ca289ee0405b0728f0b2b67c9a27
tree5d642998e5efd6263545a5e1753d362561a23bd6
parent34790903b09f9238b1072f944a2d6d0a466d1dd8
of: property: Make sure child dependencies don't block probing of parent

When creating device links to proxy the sync_state() needs of child
dependencies, create SYNC_STATE_ONLY device links so that children
dependencies don't block probing of the parent.

Also, differentiate between missing suppliers of parent device vs
missing suppliers of child devices so that driver core doesn't block
parent device probing when only child supplier dependencies are missing.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20191028220027.251605-5-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/property.c