[media] gspca - main: Fix a small code error
authorJean-François Moine <moinejf@free.fr>
Fri, 29 Oct 2010 10:57:03 +0000 (07:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:32 +0000 (08:16 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index fe2c8ec51abcef3d11403f584f025b9879838939..0a7af737150946f0b0903d08ca8afeb343a7bb94 100644 (file)
@@ -757,7 +757,7 @@ static int create_urbs(struct gspca_dev *gspca_dev,
                        }
                } else {                /* bulk */
                        urb->pipe = usb_rcvbulkpipe(gspca_dev->dev,
-                                               ep->desc.bEndpointAddress),
+                                               ep->desc.bEndpointAddress);
                        urb->transfer_flags = URB_NO_TRANSFER_DMA_MAP;
                        urb->complete = bulk_irq;
                }