drm/panel: nt35510: Do not fail if DSI read fails
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Jun 2021 23:18:30 +0000 (01:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jun 2021 16:51:49 +0000 (18:51 +0200)
commit1988e0d84161dabd99d1c27033fbd6ee439bf432
treefbda510d07889722f1e80875a21f75d62f22bee7
parentd330099115597bbc238d6758a4930e72b49ea9ba
drm/panel: nt35510: Do not fail if DSI read fails

Failing to read the MTP over DSI should not bring down the
system and make us bail out from using the display, it turns
out that this happens when toggling the display off and on,
and that write is often still working so the display output
is just fine. Printing an error is enough.

Tested by killing the Gnome session repeatedly on the
Samsung Skomer.

Fixes: 899f24ed8d3a ("drm/panel: Add driver for Novatek NT35510-based panels")
Cc: Stephan Gerhold <stephan@gerhold.net>
Reported-by: newbyte@disroot.org
Acked-by: Stefan Hansson <newbyte@disroot.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603231830.3200040-1-linus.walleij@linaro.org
drivers/gpu/drm/panel/panel-novatek-nt35510.c