mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
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
This commit is contained in:
parent
710074bb8a
commit
ad935754dd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user