Skip to content

Commit

Permalink
drm: rcar-du: Link HDMI encoder with bridge
Browse files Browse the repository at this point in the history
The conversion of the rcar-du driver from the I2C slave encoder to the
DRM bridge API left the HDMI encoder's bridge pointer NULL, preventing
the bridge from being handled automatically by the DRM core. Fix it.

Fixes: 1d92611 ("drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder")
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
Laurent Pinchart authored and airlied committed Aug 8, 2016
1 parent 29b4817 commit 29986cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ int rcar_du_hdmienc_init(struct rcar_du_device *rcdu,

/* Link drm_bridge to encoder */
bridge->encoder = encoder;
encoder->bridge = bridge;

ret = drm_bridge_attach(rcdu->ddev, bridge);
if (ret) {
Expand Down

0 comments on commit 29986cc

Please sign in to comment.