Skip to content

Commit

Permalink
drm/usb: bind driver to correct device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Airlie committed Feb 7, 2013
1 parent ae12878 commit 9f23de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int drm_get_usb_dev(struct usb_interface *interface,

usbdev = interface_to_usbdev(interface);
dev->usbdev = usbdev;
dev->dev = &usbdev->dev;
dev->dev = &interface->dev;

mutex_lock(&drm_global_mutex);

Expand Down

0 comments on commit 9f23de5

Please sign in to comment.