]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitf10761c9df96a882438faa09dcd25261281d69ca
tree9df80fd09b35e49bb5544035d5c139b0fa6b6e18
parent4ee48cc5586bf519df19894273002aa8ef7b70ad
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