mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
drm/bridge: sii902x: Use dev_err_probe
This helps figuring out why the device probe is deferred. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230117105903.2068235-1-alexander.stein@ew.tq-group.com
This commit is contained in:
parent
5688ca3469
commit
f8593120e3
1 changed files with 2 additions and 1 deletions
|
@ -1116,7 +1116,8 @@ static int sii902x_probe(struct i2c_client *client)
|
|||
sii902x->next_bridge = of_drm_find_bridge(remote);
|
||||
of_node_put(remote);
|
||||
if (!sii902x->next_bridge)
|
||||
return -EPROBE_DEFER;
|
||||
return dev_err_probe(dev, -EPROBE_DEFER,
|
||||
"Failed to find remote bridge\n");
|
||||
}
|
||||
|
||||
mutex_init(&sii902x->mutex);
|
||||
|
|
Loading…
Reference in a new issue