]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2013 18:02:00 +0000 (10:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2013 18:02:00 +0000 (10:02 -0800)
added patches:
drm-usb-bind-driver-to-correct-device.patch

queue-3.0/drm-usb-bind-driver-to-correct-device.patch [new file with mode: 0644]
queue-3.0/series

diff --git a/queue-3.0/drm-usb-bind-driver-to-correct-device.patch b/queue-3.0/drm-usb-bind-driver-to-correct-device.patch
new file mode 100644 (file)
index 0000000..f2b863e
--- /dev/null
@@ -0,0 +1,32 @@
+From 9f23de52b64f7fb801fd76f3dd8651a0dc89187b Mon Sep 17 00:00:00 2001
+From: Dave Airlie <airlied@redhat.com>
+Date: Thu, 7 Feb 2013 10:10:04 +1000
+Subject: drm/usb: bind driver to correct device
+
+From: Dave Airlie <airlied@redhat.com>
+
+commit 9f23de52b64f7fb801fd76f3dd8651a0dc89187b 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: Dave Airlie <airlied@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/drm_usb.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/gpu/drm/drm_usb.c
++++ b/drivers/gpu/drm/drm_usb.c
+@@ -18,7 +18,7 @@ int drm_get_usb_dev(struct usb_interface
+       usbdev = interface_to_usbdev(interface);
+       dev->usbdev = usbdev;
+-      dev->dev = &usbdev->dev;
++      dev->dev = &interface->dev;
+       mutex_lock(&drm_global_mutex);
index 3f1a87b63a2f15c357369e2c558df427b66631bf..e3a5bfa7cec8e1f9a27527c7957f299c44281f87 100644 (file)
@@ -27,3 +27,4 @@ alsa-usb-fix-processing-unit-descriptor-parsers.patch
 ext4-free-resources-in-some-error-path-in-ext4_fill_super.patch
 ext4-add-missing-kfree-on-error-return-path-in-add_new_gdb.patch
 sunvdc-fix-off-by-one-in-generic_request.patch
+drm-usb-bind-driver-to-correct-device.patch