[PATCH] drm/bridge: ti-sn65dsi86: Use dev_err_probe() to avoid polluting the log
Doug Anderson
dianders at chromium.org
Fri Jul 22 13:35:55 UTC 2022
Hi,
On Fri, Jul 22, 2022 at 12:48 AM Javier Martinez Canillas
<javierm at redhat.com> wrote:
>
> 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 at redhat.com>
> ---
>
> drivers/gpu/drm/bridge/ti-sn65dsi86.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Douglas Anderson <dianders at chromium.org>
If someone else doesn't beat me to it, I'll apply next week sometime.
More information about the dri-devel
mailing list