]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
authorMatheus Castello <matheus.castello@toradex.com>
Wed, 22 Mar 2023 14:38:21 +0000 (15:38 +0100)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Wed, 17 May 2023 11:33:39 +0000 (13:33 +0200)
commit9b90b39dde0b41e0199a2fe797333c7e59cf96f4
tree64f0fcf7b767952620a9c097f36cb57e9aac3798
parent9584e6a9bc9d4b9893234641bc631710b3538faf
drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found

BugLink: https://bugs.launchpad.net/bugs/2016877
commit 1a70ca89d59c7c8af006d29b965a95ede0abb0da upstream.

Returns EPROBE_DEFER when of_drm_find_bridge() fails, this is consistent
with what all the other DRM bridge drivers are doing and this is
required since the bridge might not be there when the driver is probed
and this should not be a fatal failure.

Cc: <stable@vger.kernel.org>
Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge")
Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230322143821.109744-1-francesco@dolcini.it
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/bridge/lontium-lt8912b.c