projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a39be60
)
drm/udl: Unplugging a device now unregisters it
author
Chris Wilson
<
[email protected]
>
Fri, 24 Jun 2016 14:36:21 +0000
(15:36 +0100)
committer
Daniel Vetter
<
[email protected]
>
Tue, 12 Jul 2016 11:01:55 +0000
(13:01 +0200)
Rather than manually perform our unregistration actions before shutting
down the device, move them to drm_unplug_dev().
Signed-off-by: Chris Wilson <
[email protected]
>
Cc: David Airlie <
[email protected]
>
Cc: Daniel Vetter <
[email protected]
>
Cc: Laurent Pinchart <
[email protected]
>
Cc: Alexey Brodkin <
[email protected]
>
Cc: Amitoj Kaur Chawla <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Daniel Vetter <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/udl/udl_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/udl/udl_drv.c
b/drivers/gpu/drm/udl/udl_drv.c
index c20408940cd0685eb1c32c45d0927980e560c8ab..17d34e0edbdd513e4c7860e3ddf77c595bd2fa41 100644
(file)
--- a/
drivers/gpu/drm/udl/udl_drv.c
+++ b/
drivers/gpu/drm/udl/udl_drv.c
@@
-94,7
+94,6
@@
static void udl_usb_disconnect(struct usb_interface *interface)
struct drm_device *dev = usb_get_intfdata(interface);
drm_kms_helper_poll_disable(dev);
- drm_connector_unregister_all(dev);
udl_fbdev_unplug(dev);
udl_drop_usb(dev);
drm_unplug_dev(dev);