All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/video/udlfb bind framebuffer to interface.
@ 2011-07-06  0:04 bernie
  2011-07-11  4:26 ` JinGoo Han
  2011-07-13  8:17 ` Paul Mundt
  0 siblings, 2 replies; 3+ messages in thread
From: bernie @ 2011-07-06  0:04 UTC (permalink / raw)
  To: linux-fbdev

From: Kay Sievers <kay.sievers@vrfy.org>

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: Bernie Thompson <bernie@plugable.com>
---
 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.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-13  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06  0:04 [PATCH] drivers/video/udlfb bind framebuffer to interface bernie
2011-07-11  4:26 ` JinGoo Han
2011-07-13  8:17 ` Paul Mundt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.