提交 7b808924 编写于 作者: R Roel Kluin 提交者: Mauro Carvalho Chehab

V4L/DVB (12457): zr364: wrong indexes

The order of indexes is reversed
Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: NAntoine Jacquet <royale@zerezo.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 31e0ad69
...@@ -695,7 +695,7 @@ static int zr364xx_release(struct file *file) ...@@ -695,7 +695,7 @@ static int zr364xx_release(struct file *file)
for (i = 0; i < 2; i++) { for (i = 0; i < 2; i++) {
err = err =
send_control_msg(udev, 1, init[cam->method][i].value, 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); init[cam->method][i].size);
if (err < 0) { if (err < 0) {
dev_err(&udev->dev, "error during release sequence\n"); dev_err(&udev->dev, "error during release sequence\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册