Skip to content

Commit f10761c

Browse files
Laurentiu Palcusravnborg
authored andcommitted
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 <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Vinod Koul <[email protected]> Tested-by: Vinod Koul <[email protected]> # tested on DragonBoard 410c Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 4ee48cc commit f10761c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/bridge/adv7511/adv7511_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,7 @@ static int adv7511_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
12241224

12251225
adv7511->bridge.funcs = &adv7511_bridge_funcs;
12261226
adv7511->bridge.of_node = dev->of_node;
1227+
adv7511->bridge.type = DRM_MODE_CONNECTOR_HDMIA;
12271228

12281229
drm_bridge_add(&adv7511->bridge);
12291230

0 commit comments

Comments
 (0)