linux/drivers/gpu/drm/rcar-du
Laurent Pinchart 05ee29e94a drm: rcar-du: Fix crash in encoder failure error path
When an encoder fails to initialize the driver prints an error message
to the kernel log. The message contains the name of the encoder's DT
node, which is NULL for internal encoders. Use the of_node_full_name()
macro to avoid dereferencing a NULL pointer, print the output number to
add more context to the error, and make sure we still own a reference to
the encoder's DT node by delaying the of_node_put() call.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2016-11-14 03:35:14 +02:00
..
Kconfig drm/rcar-du: make fbdev support really optional 2016-07-15 10:28:27 -04:00
Makefile drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder 2016-07-18 08:58:45 +05:30
rcar_du_crtc.c drm: rcar: use generic code for managing zpos plane property 2016-07-29 10:03:10 +02:00
rcar_du_crtc.h drm: rcar-du: Expose the VSP1 compositor through KMS planes 2016-02-23 09:32:44 +02:00
rcar_du_drv.c drm: rcar-du: Remove test for impossible error condition 2016-11-14 03:35:13 +02:00
rcar_du_drv.h drm: rcar: use generic code for managing zpos plane property 2016-07-29 10:03:10 +02:00
rcar_du_encoder.c drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder 2016-07-18 08:58:45 +05:30
rcar_du_encoder.h drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder 2016-07-18 08:58:45 +05:30
rcar_du_group.c drm: rcar-du: Add R8A7795 device support 2016-02-23 09:34:29 +02:00
rcar_du_group.h drm: rcar-du: Restart the DU group when a plane source changes 2016-02-20 02:58:55 +02:00
rcar_du_hdmienc.c drm: rcar-du: Bring HDMI encoder comments in line with the driver 2016-11-14 03:35:12 +02:00
rcar_du_hdmienc.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_kms.c drm: rcar-du: Fix crash in encoder failure error path 2016-11-14 03:35:14 +02:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm: rcar-du: Constify node argument to rcar_du_lvds_connector_init() 2016-11-14 03:35:12 +02:00
rcar_du_lvdscon.h drm: rcar-du: Constify node argument to rcar_du_lvds_connector_init() 2016-11-14 03:35:12 +02:00
rcar_du_lvdsenc.c drm: rcar-du: Remove memory allocation error message 2016-11-14 03:35:14 +02:00
rcar_du_lvdsenc.h drm: rcar-du: lvds: Avoid duplication of clock clamp code 2016-02-23 09:34:30 +02:00
rcar_du_plane.c drm: rcar: use generic code for managing zpos plane property 2016-07-29 10:03:10 +02:00
rcar_du_plane.h drm: rcar: use generic code for managing zpos plane property 2016-07-29 10:03:10 +02:00
rcar_du_regs.h rcar-du: add/rename DEFR6 TCON bits 2016-06-20 22:31:26 +03:00
rcar_du_vgacon.c drm: rcar-du: Rely on the default ->best_encoder() behavior 2016-06-10 17:24:26 +02:00
rcar_du_vgacon.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_vsp.c drm: rcar: use generic code for managing zpos plane property 2016-07-29 10:03:10 +02:00
rcar_du_vsp.h [media] drm: rcar-du: Add Z-order support for VSP planes 2016-06-17 08:17:12 -03:00
rcar_lvds_regs.h drm: rcar-du: lvds: Add R-Car Gen3 support 2016-02-23 09:34:32 +02:00