Skip to content

Commit 24a026f

Browse files
Saravana Kannangregkh
authored andcommitted
pinctrl: devicetree: Delete usage of driver_deferred_probe_check_state()
Now that fw_devlink=on by default and fw_devlink supports "pinctrl-[0-8]" property, the execution will never get to the point where driver_deferred_probe_check_state() is called before the supplier has probed successfully or before deferred probe timeout has expired. So, delete the call and replace it with -ENODEV. Tested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Saravana Kannan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5a46079 commit 24a026f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/devicetree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static int dt_to_map_one_config(struct pinctrl *p,
129129
np_pctldev = of_get_next_parent(np_pctldev);
130130
if (!np_pctldev || of_node_is_root(np_pctldev)) {
131131
of_node_put(np_pctldev);
132-
ret = driver_deferred_probe_check_state(p->dev);
132+
ret = -ENODEV;
133133
/* keep deferring if modules are enabled */
134134
if (IS_ENABLED(CONFIG_MODULES) && !allow_default && ret < 0)
135135
ret = -EPROBE_DEFER;

0 commit comments

Comments
 (0)