Commit 901fe4bb authored by Dave Airlie's avatar Dave Airlie Committed by Ben Hutchings

drm/usb: bind driver to correct device

commit 9f23de52 upstream.

While looking at plymouth on udl I noticed that plymouth was trying
to use its fb plugin not its drm one, it was trying to drmOpen a driver called
usb not udl, noticed that we actually had out driver pointing at the wrong
device.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent b6f84cb8
...@@ -19,7 +19,7 @@ int drm_get_usb_dev(struct usb_interface *interface, ...@@ -19,7 +19,7 @@ int drm_get_usb_dev(struct usb_interface *interface,
usbdev = interface_to_usbdev(interface); usbdev = interface_to_usbdev(interface);
dev->usbdev = usbdev; dev->usbdev = usbdev;
dev->dev = &usbdev->dev; dev->dev = &interface->dev;
mutex_lock(&drm_global_mutex); mutex_lock(&drm_global_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment