Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Giulio Benetti 548ae867ef drm/sun4i: tcon: fix check of tcon->panel null pointer
Since tcon->panel is a pointer returned by of_drm_find_panel() need to
check if it is not NULL, hence a valid pointer.
IS_ERR() instead checks return error values, not NULL pointers.

Substitute "if (!IS_ERR(tcon->panel))" with "if (tcon->panel)".

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181005215951.99003-1-giulio.benetti@micronovasrl.com
2018-10-08 11:20:50 +02:00
..
2018-09-09 14:19:18 +02:00
2018-09-27 11:06:46 +10:00
2018-09-27 11:06:46 +10:00
2018-09-27 02:54:54 -04:00
2018-09-27 11:06:46 +10:00
2018-07-13 18:40:28 +02:00
2018-08-16 11:30:02 -04:00
2018-08-28 11:22:42 -05:00