Skip to content

Commit

Permalink
drivers/video/udlfb bind framebuffer to interface.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kay Sievers authored and Paul Mundt committed Jul 13, 2011
1 parent 945903c commit c91a793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/udlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c91a793

Please sign in to comment.