diff options
author | Josh Boyer <jwboyer@redhat.com> | 2011-07-29 10:12:47 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2011-07-29 10:12:47 -0400 |
commit | 37a65c786830f35e8e20ea1da20800b94359a1c0 (patch) | |
tree | 198b2d380d859d8b323532d0e57fc2838137f344 /udlfb-bind-framebuffer-to-interface.patch | |
parent | 4e3ef443626c58b42f64f3ecd4b3092458f21305 (diff) | |
download | kernel-37a65c786830f35e8e20ea1da20800b94359a1c0.tar.gz kernel-37a65c786830f35e8e20ea1da20800b94359a1c0.tar.xz kernel-37a65c786830f35e8e20ea1da20800b94359a1c0.zip |
3.0-git11 snapshot
Add patch from linux-next to fix udlfb binding (rhbz 726163)
Diffstat (limited to 'udlfb-bind-framebuffer-to-interface.patch')
-rw-r--r-- | udlfb-bind-framebuffer-to-interface.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/udlfb-bind-framebuffer-to-interface.patch b/udlfb-bind-framebuffer-to-interface.patch new file mode 100644 index 000000000..1c5c6df9b --- /dev/null +++ b/udlfb-bind-framebuffer-to-interface.patch @@ -0,0 +1,33 @@ +From c91a793f66d5b06292aa431ae3a36c8aca991fa3 Mon Sep 17 00:00:00 2001 +From: Kay Sievers <kay.sievers@vrfy.org> +Date: Tue, 5 Jul 2011 17:04:11 -0700 +Subject: [PATCH] drivers/video/udlfb bind framebuffer to interface. + +Udlfb has been binding the framebuffer device to its parent, which +isn't correct and causes confusion with operations like udev remove. + +Coming plug and play multiseat support is dependent on this fix. + +Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> +Signed-off-by: Bernie Thompson <bernie@plugable.com> +Signed-off-by: Paul Mundt <lethal@linux-sh.org> +--- + drivers/video/udlfb.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c +index 816a4fd..c6584c9 100644 +--- a/drivers/video/udlfb.c ++++ b/drivers/video/udlfb.c +@@ -1549,7 +1549,7 @@ static int dlfb_usb_probe(struct usb_interface *interface, + /* We don't register a new USB class. Our client interface is fbdev */ + + /* allocates framebuffer driver structure, not framebuffer memory */ +- info = framebuffer_alloc(0, &usbdev->dev); ++ info = framebuffer_alloc(0, &interface->dev); + if (!info) { + retval = -ENOMEM; + pr_err("framebuffer_alloc failed\n"); +-- +1.7.4.4 + |