Skip to content

Commit 9f23de5

Browse files
committed
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: Dave Airlie <airlied@redhat.com>
1 parent ae12878 commit 9f23de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/drm_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int drm_get_usb_dev(struct usb_interface *interface,
1818

1919
usbdev = interface_to_usbdev(interface);
2020
dev->usbdev = usbdev;
21-
dev->dev = &usbdev->dev;
21+
dev->dev = &interface->dev;
2222

2323
mutex_lock(&drm_global_mutex);
2424

0 commit comments

Comments
 (0)