summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-01-24 18:15:34 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-31 14:04:25 (GMT)
commit7c45f2c7fe8eb433a8af0f38ddeaa7e4abc05e0c (patch)
tree0a2fa7c7b679a13cb28daf719bd74c1370b90cc5 /drivers/media/video/gspca
parent1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff)
downloadlinux-fsl-qoriq-7c45f2c7fe8eb433a8af0f38ddeaa7e4abc05e0c.tar.xz
[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/media/video/gspca')
-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 865216e..f9710f9 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++;