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)
commit0ff5cc1ec33b4b7540c4bc09f50123befc6ed947
tree5d642998e5efd6263545a5e1753d362561a23bd6
parent03324507e66c7664c754b1ef92c5c3be24c78aa2
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