Commit f8593120 authored by Alexander Stein's avatar Alexander Stein Committed by Neil Armstrong

drm/bridge: sii902x: Use dev_err_probe

This helps figuring out why the device probe is deferred.
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: default avatarAndrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230117105903.2068235-1-alexander.stein@ew.tq-group.com
parent 5688ca34
...@@ -1116,7 +1116,8 @@ static int sii902x_probe(struct i2c_client *client) ...@@ -1116,7 +1116,8 @@ static int sii902x_probe(struct i2c_client *client)
sii902x->next_bridge = of_drm_find_bridge(remote); sii902x->next_bridge = of_drm_find_bridge(remote);
of_node_put(remote); of_node_put(remote);
if (!sii902x->next_bridge) if (!sii902x->next_bridge)
return -EPROBE_DEFER; return dev_err_probe(dev, -EPROBE_DEFER,
"Failed to find remote bridge\n");
} }
mutex_init(&sii902x->mutex); mutex_init(&sii902x->mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment