On Mon, Jan 9, 2023 at 4:41 PM Pin-yen Lin <treapk...@chromium.org> wrote: > > The output port endpoints can be connected to USB-C connectors. > Running drm_of_find_panel_or_bridge() with such endpoints leads to > a continuous return value of -EPROBE_DEFER, even though there is > no panel present. > > To avoid this, check for the existence of a "mode-switch" property in > the port endpoint, and skip panel registration completely if so. > > Signed-off-by: Pin-yen Lin <treapk...@chromium.org>
Reviewed-by: Chen-Yu Tsai <we...@chromium.org> Tested-by: Chen-Yu Tsai <we...@chromium.org> on MT8192 based Hayato (ASUS Chromebook Flip CM3200).