]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/adv7511: set the bridge type properly
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Mon, 20 Jul 2020 12:42:27 +0000 (15:42 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 26 Jul 2020 16:53:56 +0000 (18:53 +0200)
commit0d37f07d50f2cc508fd80a35ae202dd5fdc54ece
tree9df80fd09b35e49bb5544035d5c139b0fa6b6e18
parent3ee7f6783cbaac2a22251ad89cc561e9b9424208
drm/bridge/adv7511: set the bridge type properly

After the drm_bridge_connector_init() helper function has been added,
the ADV driver has been changed accordingly. However, the 'type'
field of the bridge structure was left unset, which makes the helper
function always return -EINVAL.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Vinod Koul <vkoul@kernel.org> # tested on DragonBoard 410c
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200720124228.12552-1-laurentiu.palcu@oss.nxp.com
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c