[PATCH v9 10/11] drm/bridge: ti-sn65dsi86: Improve probe errors with dev_err_probe()

Linus Walleij linus.walleij at linaro.org
Wed Jun 9 11:09:38 UTC 2021


On Mon, Jun 7, 2021 at 7:06 PM Douglas Anderson <dianders at chromium.org> wrote:

> As I was testing to make sure that the DEFER path worked well with my
> patch series, I got tired of seeing this scary message in my logs just
> because the panel needed to defer:
>   [drm:ti_sn_bridge_probe] *ERROR* could not find any panel node
>
> Let's use dev_err_probe() which nicely quiets this error and also
> simplifies the code a tiny bit. We'll also update other places in the
> file which can use dev_err_probe().
>
> Signed-off-by: Douglas Anderson <dianders at chromium.org>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the dri-devel mailing list