alistair23-linux/drivers/gpu/drm/rcar-du
Boris Brezillon 5fa8e4a221 drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL
Right now, the DRM panel logic returns NULL when a panel pointing to
the passed OF node is not present in the list of registered panels.

Most drivers interpret this NULL value as -EPROBE_DEFER, but we are
about to modify the semantic of of_drm_find_panel() and let the
framework return -ENODEV when the device node we're pointing to has
a status property that is not equal to "okay" or "ok".

Let's first patch the of_drm_find_panel() implementation to return
ERR_PTR(-EPROBE_DEFER) instead of NULL and patch all callers to replace
the '!panel' check by an 'IS_ERR(panel)' one.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180509130042.9435-2-boris.brezillon@bootlin.com
2018-07-10 17:59:05 +02:00
..
Kconfig drm: rcar-du: Convert LVDS encoder code to bridge driver 2018-03-07 18:06:49 +02:00
Makefile drm: rcar-du: disable dtc graph-endpoint warnings on DT overlays 2018-05-15 08:23:46 -05:00
rcar_du_crtc.c media updates for v4.18-rc1 2018-06-07 12:34:37 -07:00
rcar_du_crtc.h media updates for v4.18-rc1 2018-06-07 12:34:37 -07:00
rcar_du_drv.c drm: rcar-du: Add R8A77965 support 2018-05-05 17:11:20 +03:00
rcar_du_drv.h Merge branch 'drm/du/next' of git://linuxtv.org/pinchartl/media into drm-next 2018-05-15 15:23:48 +10:00
rcar_du_encoder.c drm: rcar-du: Convert LVDS encoder code to bridge driver 2018-03-07 18:06:49 +02:00
rcar_du_encoder.h drm: rcar-du: Convert LVDS encoder code to bridge driver 2018-03-07 18:06:49 +02:00
rcar_du_group.c drm: rcar-du: Allow DU groups to work with hardware indexing 2018-05-05 17:11:19 +03:00
rcar_du_group.h drm: rcar-du: Allow DU groups to work with hardware indexing 2018-05-05 17:11:19 +03:00
rcar_du_kms.c Merge branch 'drm/du/next' of git://linuxtv.org/pinchartl/media into drm-next 2018-05-15 15:23:48 +10:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_of.c drm: rcar-du: of: Include header to define prototypes 2018-05-05 17:11:15 +03:00
rcar_du_of.h drm: rcar-du: Fix rcar_du_of_init() stub 2018-05-17 15:03:32 +10:00
rcar_du_of_lvds_r8a7790.dts drm: rcar-du: Fix legacy DT to create LVDS encoder nodes 2018-03-07 18:06:41 +02:00
rcar_du_of_lvds_r8a7791.dts drm: rcar-du: Fix legacy DT to create LVDS encoder nodes 2018-03-07 18:06:41 +02:00
rcar_du_of_lvds_r8a7793.dts drm: rcar-du: Fix legacy DT to create LVDS encoder nodes 2018-03-07 18:06:41 +02:00
rcar_du_of_lvds_r8a7795.dts drm: rcar-du: Fix legacy DT to create LVDS encoder nodes 2018-03-07 18:06:41 +02:00
rcar_du_of_lvds_r8a7796.dts drm: rcar-du: Fix legacy DT to create LVDS encoder nodes 2018-03-07 18:06:41 +02:00
rcar_du_plane.c drm/rcar-du: Convert to the new generic alpha property 2018-04-16 21:20:59 +02:00
rcar_du_plane.h drm/rcar-du: Convert to the new generic alpha property 2018-04-16 21:20:59 +02:00
rcar_du_regs.h drm: rcar-du: Use the correct naming for ODPM fields in DEFR6 2018-05-05 17:11:18 +03:00
rcar_du_vsp.c media updates for v4.18-rc1 2018-06-07 12:34:37 -07:00
rcar_du_vsp.h drm/rcar-du: Convert to the new generic alpha property 2018-04-16 21:20:59 +02:00
rcar_dw_hdmi.c drm/rcar-du: dw-hdmi: Fix compilation 2018-02-16 19:04:54 +01:00
rcar_lvds.c drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL 2018-07-10 17:59:05 +02:00
rcar_lvds_regs.h drm: rcar-du: lvds: Fix LVDCR1 for R-Car gen3 2018-02-14 18:17:02 +02:00