diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2022-07-22 09:47:55 +0200 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2022-07-23 01:39:28 +0200 |
commit | bbb6f93f51a19787f455768015e9a77a4d83c4c8 (patch) | |
tree | c9c5f7158bbc0d7991263505dffad29f74e4e64a /drivers/gpu/drm/vmwgfx | |
parent | eaa225b6b52233d45457fd33730e1528c604d92d (diff) | |
download | lwn-bbb6f93f51a19787f455768015e9a77a4d83c4c8.tar.gz lwn-bbb6f93f51a19787f455768015e9a77a4d83c4c8.zip |
drm/bridge: ti-sn65dsi86: Use dev_err_probe() to avoid polluting the log
If devm_drm_of_get_bridge() can't find the connected bridge, it returns an
ERR_PTR(-EPROBE_DEFER) to indicate that the probe should be deferred.
But this path also prints an error message, which pollutes the kernel log
since is printed on every probe deferral, i.e:
$ dmesg | grep "failed to create panel bridge" | wc -l
38
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220722074755.660258-1-javierm@redhat.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
0 files changed, 0 insertions, 0 deletions