]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] gspca - zc3xx: Bad delay when given by a table
authorJean-François Moine <moinejf@free.fr>
Mon, 24 Jan 2011 18:15:34 +0000 (15:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Jan 2011 14:04:25 +0000 (12:04 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/zc3xx.c

index 865216e9362c55c956af81b737855e58ec1fc318..f9710f9851c509ddebd5ef1b5c23b04dc2a026fc 100644 (file)
@@ -5793,7 +5793,7 @@ static void usb_exchange(struct gspca_dev *gspca_dev,
                        break;
                default:
 /*             case 0xdd:       * delay */
-                       msleep(action->val / 64 + 10);
+                       msleep(action->idx);
                        break;
                }
                action++;