Skip to content

Commit 1988e0d

Browse files
committed
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: 899f24e ("drm/panel: Add driver for Novatek NT35510-based panels") Cc: Stephan Gerhold <[email protected]> Reported-by: [email protected] Acked-by: Stefan Hansson <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent d330099 commit 1988e0d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/panel/panel-novatek-nt35510.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,7 @@ static int nt35510_power_on(struct nt35510 *nt)
706706
if (ret)
707707
return ret;
708708

709-
ret = nt35510_read_id(nt);
710-
if (ret)
711-
return ret;
709+
nt35510_read_id(nt);
712710

713711
/* Set up stuff in manufacturer control, page 1 */
714712
ret = nt35510_send_long(nt, dsi, MCS_CMD_MAUCCTR,

0 commit comments

Comments
 (0)