On Mon, 2 Feb 2009 20:36:31 -0600 (CST)
[email protected] wrote:
> Just now when I logged in, a fortune came up which says:
>
> "A little experience often upsets a lot of theory."
>
> It struck me funny after our recent experiences, so I thought I would
> share it with both of you.
Hello,
May be this message made me to look again at the gspca code. Well, it's
my fault: I did not check the previous patch. Sorry for all trouble.
The patch is simply:
diff -r 3f4a7bc53d8e linux/drivers/media/video/gspca/gspca.c
--- a/linux/drivers/media/video/gspca/gspca.c Mon Feb 02 20:25:38 2009 +0100
+++ b/linux/drivers/media/video/gspca/gspca.c Tue Feb 03 10:37:51 2009 +0100
@@ -435,7 +435,7 @@
break;
gspca_dev->urb[i] = NULL;
- if (!gspca_dev->present)
+ if (gspca_dev->present)
usb_kill_urb(urb);
if (urb->transfer_buffer != NULL)
usb_buffer_free(gspca_dev->dev,
Best regards.
--
Ken ar c'hentan | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html