OpenCloudOS-Kernel/drivers/gpu/drm/bridge
Alex Bee f3bc07eba4
drm: bridge: it66121: Fix return value it66121_probe
Currently it66121_probe returns -EPROBE_DEFER if the there is no remote
endpoint found in the device tree which doesn't seem helpful, since this
is not going to change later and it is never checked if the next bridge
has been initialized yet. It will fail in that case later while doing
drm_bridge_attach for the next bridge in it66121_bridge_attach.

Since the bindings documentation for it66121 bridge driver states
there has to be a remote endpoint defined, its safe to return -EINVAL
in that case.
This additonally adds a check, if the remote endpoint is enabled and
returns -EPROBE_DEFER, if the remote bridge hasn't been initialized
(yet).

Fixes: 988156dc2f ("drm: bridge: add it66121 driver")
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210918140420.231346-1-knaerzche@gmail.com
2021-09-20 11:26:06 +02:00
..
adv7511 drm: adv7511: Convert to SPDX identifier 2021-08-31 16:28:26 +02:00
analogix drm/bridge: anx7625: enable DSI EOTP 2021-08-31 16:10:31 +02:00
cadence drm: bridge: cdns-mhdp8546: Fix PM reference leak in 2021-05-31 15:50:59 +02:00
synopsys drm-misc-next for v5.15: 2021-07-30 14:52:00 +10:00
Kconfig drm/bridge: ti-sn65dsi86: Add support for the DP AUX bus 2021-06-11 12:31:38 -07:00
Makefile drm/bridge: ti-sn65dsi83: Add TI SN65DSI83 and SN65DSI84 driver 2021-06-08 11:42:25 +02:00
cdns-dsi.c drm/bridge: cdns: Make use of the helper function devm_platform_ioremap_resource() 2021-08-31 16:24:00 +02:00
chipone-icn6211.c drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge 2021-03-25 17:46:08 +01:00
chrontel-ch7033.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
cros-ec-anx7688.c drm/bridge: Add ChromeOS EC ANX7688 bridge driver support 2021-05-18 16:41:01 +02:00
display-connector.c drm/bridge: display-connector: add DP support 2020-12-08 13:01:10 +02:00
ite-it66121.c drm: bridge: it66121: Fix return value it66121_probe 2021-09-20 11:26:06 +02:00
lontium-lt8912b.c drm/dsi: Add _NO_ to MIPI_DSI_* flags disabling features 2021-07-27 09:48:24 +02:00
lontium-lt9611.c drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE 2021-05-17 10:41:13 +02:00
lontium-lt9611uxc.c drm: bridge: convert sysfs sprintf/snprintf family to sysfs_emit 2021-03-25 17:26:22 +01:00
lvds-codec.c drm/bridge: lvds-codec: Use dev_err_probe for error handling 2020-11-08 15:45:55 +01:00
megachips-stdpxxxx-ge-b850v3-fw.c drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly 2020-08-23 17:08:51 +02:00
nwl-dsi.c drm/bridge: nwl-dsi: Avoid potential multiplication overflow on 32-bit 2021-07-25 14:15:18 +02:00
nwl-dsi.h drm/bridge: Add NWL MIPI DSI host controller support 2020-04-09 15:52:47 +02:00
nxp-ptn3460.c drm/bridge: nxp-ptn3460: add drm_panel_bridge support 2020-07-27 19:25:10 +02:00
panel.c drm: bridge/panel: Cleanup connector on bridge detach 2021-03-29 16:46:01 +01:00
parade-ps8622.c drm/bridge: parade-ps8622: add drm_panel_bridge support 2020-07-27 17:22:14 +02:00
parade-ps8640.c drm/bridge: parade-ps8640: Reorg the macros 2021-08-26 11:06:16 -07:00
sii902x.c drm/bridge: sii902x: Enable I/O and core VCC supplies if present 2020-11-08 11:53:37 +01:00
sii9234.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
sil-sii8620.c drm next for 5.9-rc1 2020-08-05 19:50:06 -07:00
sil-sii8620.h
simple-bridge.c drm: bridge: simple-bridge: Make connector creation optional 2020-06-23 19:52:32 +02:00
tc358762.c drm/bridge: tc358762: Add basic driver for Toshiba TC358762 DSI-to-DPI bridge 2020-08-12 22:06:18 +02:00
tc358764.c drm/bridge: tc358764: restore connector support 2020-10-05 16:25:25 +02:00
tc358767.c drm/dp: Add backpointer to drm_device in drm_dp_aux 2021-04-27 18:43:42 -04:00
tc358768.c drm-misc-next for v5.15: 2021-07-30 14:52:00 +10:00
tc358775.c drm/bridge/tc358775: Remove unneeded semicolon 2020-09-10 08:46:24 +02:00
thc63lvd1024.c drm/bridge: thc63lvd1024: Fix regulator_get_optional() misuse 2021-01-05 07:19:48 +02:00
ti-sn65dsi83.c drm: bridge: ti-sn65dsi83: Retrieve the display mode from the state 2021-06-22 10:15:58 +02:00
ti-sn65dsi86.c drm/bridge: ti-sn65dsi86: Avoid creating multiple connectors 2021-08-12 09:56:09 -07:00
ti-tfp410.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
ti-tpd12s015.c drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe 2020-11-05 22:09:09 +01:00