summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAntoine Jacquet <royale@zerezo.com>2009-08-11 13:10:25 +0200
committerAntoine Jacquet <royale@zerezo.com>2009-08-11 13:10:25 +0200
commit69f4f9ea01bb7203787bb5ba9cf384944660dd3f (patch)
tree76a62135bc014f1b3e7fbad0709e2e7f76060ea0 /linux
parentce486a4e35fc5f89c56f1bc8db8ad09cb9e3a98e (diff)
downloadmediapointer-dvb-s2-69f4f9ea01bb7203787bb5ba9cf384944660dd3f.tar.gz
mediapointer-dvb-s2-69f4f9ea01bb7203787bb5ba9cf384944660dd3f.tar.bz2
zr364: wrong indexes
From: Roel Kluin <roel.kluin@gmail.com> The order of indexes is reversed Priority: high Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Antoine Jacquet <royale@zerezo.com>
Diffstat (limited to 'linux')
-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");