Messages in this thread | | | Subject | Re: [PATCH] vivi driver works only as first device | From | Mauro Carvalho Chehab <> | Date | Mon, 10 Dec 2007 05:08:51 -0200 |
| |
Hi Gregor, Em Qui, 2007-12-06 às 23:06 +0100, Gregor Jasny escreveu: > From: Gregor Jasny <gjasny@web.de> > > When the vivi driver allocates a video device, video_register_device() stores the > allocated device minor inside the vivi structure. But when the device node is opened, > the file minor number is compared to the minor in the device list. So this patch > copies the allocated minor in the device list, too.
Thanks for the report. Instead of applying your patch, I decided to better analyze the issue, fixing it with the proper solution. The issue is that vivi_register changes iminor, but this change were not properly returned to the driver.
-- Cheers, Mauro
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |