OpenCloudOS-Kernel/drivers/gpu/drm/rcar-du
Dan Carpenter 40f43730f4 drm: rcar-du: Fix a NULL vs IS_ERR() bug
The drmm_encoder_alloc() function returns error pointers.  It never
returns NULL.  Fix the check accordingly.

Fixes: 7a1adbd239 ("drm: rcar-du: Use drmm_encoder_alloc() to manage encoder")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
2023-03-25 22:38:10 +02:00
..
Kconfig drm: rcar-du: lvds: Add reset control 2023-01-23 17:56:51 +02:00
Makefile drm: rcar-du: Add RZ/G2L DSI driver 2022-11-09 16:45:57 +02:00
rcar_cmm.c drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_cmm.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_crtc.c drm: rcar-du: Don't write unimplemented ESCR and OTAR registers on Gen3 2023-03-25 22:38:10 +02:00
rcar_du_crtc.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_drv.c Renesas R-Car DU fixes and improvements 2023-01-30 13:49:56 +10:00
rcar_du_drv.h drm: rcar-du: Fix setting a reserved bit in DPLLCR 2023-01-24 00:41:13 +02:00
rcar_du_encoder.c drm: rcar-du: Fix a NULL vs IS_ERR() bug 2023-03-25 22:38:10 +02:00
rcar_du_encoder.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_group.c drm: rcar-du: Write correct values in DORCR reserved fields 2023-03-25 22:38:10 +02:00
rcar_du_group.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_kms.c drm: rcar-du: Add new formats (2-10-10-10 ARGB, Y210) 2023-01-21 01:18:04 +02:00
rcar_du_kms.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_plane.c drm: rcar-du: Use %p4cc to print 4CC format 2022-09-07 23:48:40 +03:00
rcar_du_plane.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_regs.h drm: rcar-du: Rename DORCR fields to make them 0-based 2023-03-25 22:38:10 +02:00
rcar_du_vsp.c drm: rcar-du: Disable alpha blending for DU planes used with VSP 2023-03-25 22:38:10 +02:00
rcar_du_vsp.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_du_writeback.c drm: rcar-du: Use %p4cc to print 4CC format 2022-09-07 23:48:40 +03:00
rcar_du_writeback.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_dw_hdmi.c drm: rcar-du: dw-hdmi: Set output port number 2021-07-28 16:33:18 +03:00
rcar_lvds.c drm: rcar-du: lvds: Fix LVDS PLL disable on D3/E3 2023-03-25 22:38:09 +02:00
rcar_lvds.h drm: rcar-du: lvds: Fix LVDS PLL disable on D3/E3 2023-03-25 22:38:09 +02:00
rcar_lvds_regs.h drm: rcar-du: Drop file name from comment header blocks 2022-07-07 05:21:54 +03:00
rcar_mipi_dsi.c drm: rcar-du: dsi: Add r8A779g0 support 2023-01-21 01:18:04 +02:00
rcar_mipi_dsi.h drm: rcar-du: Fix DSI enable & disable sequence 2022-09-07 23:48:42 +03:00
rcar_mipi_dsi_regs.h drm: rcar-du: dsi: Add r8A779g0 support 2023-01-21 01:18:04 +02:00
rzg2l_mipi_dsi.c drm: rcar-du: rzg2l_mipi_dsi: Enhance device lanes check 2022-11-09 16:45:58 +02:00
rzg2l_mipi_dsi_regs.h drm: rcar-du: Add RZ/G2L DSI driver 2022-11-09 16:45:57 +02:00