Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c91a793f authored by Kay Sievers's avatar Kay Sievers Committed by Paul Mundt
Browse files

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: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarBernie Thompson <bernie@plugable.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 945903c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");