diff options
author | Simon Ser <contact@emersion.fr> | 2021-10-18 08:47:27 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-11-02 14:27:11 +0100 |
commit | ad935754dd865ffe9be39e366071275c99366285 (patch) | |
tree | 8fa4b125ea9d7a1b39ee6eb698d065b27ff8f40f /drivers/gpu/drm/drm_connector.c | |
parent | 710074bb8ab0efac425a43473b8a3e057d645f82 (diff) | |
download | lwn-ad935754dd865ffe9be39e366071275c99366285.tar.gz lwn-ad935754dd865ffe9be39e366071275c99366285.zip |
drm/connector: use drm_sysfs_connector_hotplug_event
In drm_connector_register, use drm_sysfs_connector_hotplug_event
instead of drm_sysfs_hotplug_event, because the hotplug event
only updates a single connector.
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211018084707.32253-4-contact@emersion.fr
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
-rw-r--r-- | drivers/gpu/drm/drm_connector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index ec3973e8963c..a50c82bc2b2f 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -547,7 +547,7 @@ int drm_connector_register(struct drm_connector *connector) connector->registration_state = DRM_CONNECTOR_REGISTERED; /* Let userspace know we have a new connector */ - drm_sysfs_hotplug_event(connector->dev); + drm_sysfs_connector_hotplug_event(connector); if (connector->privacy_screen) drm_privacy_screen_register_notifier(connector->privacy_screen, |