summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zr364xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/zr364xx.c')
-rw-r--r--linux/drivers/media/video/zr364xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zr364xx.c b/linux/drivers/media/video/zr364xx.c
index c298ce625..ee5534230 100644
--- a/linux/drivers/media/video/zr364xx.c
+++ b/linux/drivers/media/video/zr364xx.c
@@ -1367,7 +1367,7 @@ static int zr364xx_release(struct file *file)
for (i = 0; i < 2; i++) {
err =
send_control_msg(udev, 1, init[cam->method][i].value,
- 0, init[i][cam->method].bytes,
+ 0, init[cam->method][i].bytes,
init[cam->method][i].size);
if (err < 0) {
dev_err(&udev->dev, "error during release sequence\n");