Skip to content

Commit f8378c0

Browse files
committed
drm/bridge: parade-ps8640: Add backpointer to drm_device in drm_dp_aux
When we added the support for the AUX channel in commit 13afcdd ("drm/bridge: parade-ps8640: Add support for AUX channel") we forgot to set "drm_dev" to avoid the warning splat at the beginning of drm_dp_aux_register(). Since everything was working I guess I never noticed the splat when testing against mainline. In any case, it's easy to fix. This is basically just like commit 6cba3fe ("drm/dp: Add backpointer to drm_device in drm_dp_aux") but just for the parade-ps8640. Fixes: 13afcdd ("drm/bridge: parade-ps8640: Add support for AUX channel") Signed-off-by: Douglas Anderson <[email protected]> Reviewed-by: Philip Chen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20211206162907.1.I1f5d1eba741e4663050ec1b8e39a753f6e42e38b@changeid
1 parent 42c632b commit f8378c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/bridge/parade-ps8640.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ static int ps8640_bridge_attach(struct drm_bridge *bridge,
449449
if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR))
450450
return -EINVAL;
451451

452+
ps_bridge->aux.drm_dev = bridge->dev;
452453
ret = drm_dp_aux_register(&ps_bridge->aux);
453454
if (ret) {
454455
dev_err(dev, "failed to register DP AUX channel: %d\n", ret);

0 commit comments

Comments
 (0)