Commit 9f23de52 authored by Dave Airlie's avatar Dave Airlie

drm/usb: bind driver to correct device

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.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent ae128786
...@@ -18,7 +18,7 @@ int drm_get_usb_dev(struct usb_interface *interface, ...@@ -18,7 +18,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