[PATCH] drm/tidss: Use dev_err_probe() over dev_dbg() when failing to probe the port
Javier Martinez Canillas
javierm at redhat.com
Wed Feb 28 22:01:53 UTC 2024
Andrew Halaney <ahalaney at redhat.com> writes:
Hello Andrew,
> This gets logged out to /sys/kernel/debug/devices_deferred in the
> -EPROBE_DEFER case and as an error otherwise. The message here provides
> useful information to the user when troubleshooting why their display is
> not working in either case, so let's make it output appropriately.
>
> Signed-off-by: Andrew Halaney <ahalaney at redhat.com>
> ---
> There's definitely more spots in this driver that could be upgraded from
> dev_dbg() to something more appropriate, but this one burned me today so
> I thought I'd send a patch for it specifically before I forget.
> ---
Makes sense to me and I agree that's useful to have that information there.
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list