]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: imx-ldb: Accept drm_of_find_panel_or_bridge failure
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 10 May 2017 13:17:13 +0000 (16:17 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 6 Jun 2017 08:21:10 +0000 (10:21 +0200)
commite399b64becdd01d84b8d6865089ee64d24651170
tree311eb83acceed1e422476cc51bcb1a3ccfc76c3e
parentd1491317753dd6331b14237f37889070cf7e567d
drm/imx: imx-ldb: Accept drm_of_find_panel_or_bridge failure

Not having an endpoint bound in DT should not cause a failure here,
there are fallbacks. So explicitly accept a missing endpoint.

This behavior change was introduced by refactoring in drm_of parsing
code and it should not require dts changes.

In particular this fixes imx6qdl-sabreauto boards.

Link: https://lists.freedesktop.org/archives/dri-devel/2017-May/141233.html
Fixes: 5d14619f84c0 ("drm: convert drivers to use drm_of_find_panel_or_bridge")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-ldb.c