clk: Mark fwnodes when their clock provider is added/removed
authorSaravana Kannan <saravanak@google.com>
Fri, 5 Feb 2021 22:26:44 +0000 (14:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Feb 2021 13:31:07 +0000 (14:31 +0100)
commit3c9ea42802a1fbf7ef29660ff8c6e526c58114f6
treeef42f6095ff3c5f818f28f4c36a05c54e60bdd59
parentbab2d712eeaf9d60d66fe077749b988125144e2e
clk: Mark fwnodes when their clock provider is added/removed

This allows fw_devlink to recognize clock provider drivers that don't
use the device-driver model to initialize the device. fw_devlink will
use this information to make sure consumers of such clock providers
aren't indefinitely blocked from probing, waiting for the power domain
device to appear and bind to a driver.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20210205222644.2357303-9-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/clk.c