Files
linux/drivers
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-07 10:05:20 +02:00
2018-08-08 15:44:47 +10:00
2018-08-16 12:26:24 -07:00
2018-07-30 10:04:58 +02:00
2018-08-20 11:36:07 +02:00
2018-09-27 11:06:46 +10:00
2018-09-27 11:06:46 +10:00