aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-01-24 15:15:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-31 12:04:25 -0200
commit7c45f2c7fe8eb433a8af0f38ddeaa7e4abc05e0c (patch)
tree0a2fa7c7b679a13cb28daf719bd74c1370b90cc5 /drivers
parent1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff)
[media] gspca - zc3xx: Bad delay when given by a table
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/zc3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index 865216e9362..f9710f9851c 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -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++;