Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -1
+1 -1
drivers/gpu/drm/drm_usb.c
··· 18 18 19 19 usbdev = interface_to_usbdev(interface); 20 20 dev->usbdev = usbdev; 21 - dev->dev = &usbdev->dev; 21 + dev->dev = &interface->dev; 22 22 23 23 mutex_lock(&drm_global_mutex); 24 24