From patchwork Tue Aug 11 11:10:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 40578 X-Patchwork-Delegate: dougsland@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7BC5TIl028866 for ; Tue, 11 Aug 2009 12:05:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753001AbZHKMEt (ORCPT ); Tue, 11 Aug 2009 08:04:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752882AbZHKMEs (ORCPT ); Tue, 11 Aug 2009 08:04:48 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:36170 "EHLO mail-ew0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752975AbZHKMEo (ORCPT ); Tue, 11 Aug 2009 08:04:44 -0400 Received: by ewy10 with SMTP id 10so3713268ewy.37 for ; Tue, 11 Aug 2009 05:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=OIdSAQ5/yD0QHYIV/08xj9S4mJFv/Hgp0vYhv2CSSzg=; b=vhHT4kKqICqizwaaPaP1k4/T8bK0riW9/mAddSzBw3Qj+VWh0/GvoCLEbyDdDxQieQ EkSc7z+q9pmrJXfSn6H5C2gvfBmpMbbuOgQ+xR95ye/nUGaX1YJk5N+A6YkraBPhKVLQ V1VXCUQu6ADOfLCVeCnTLGDWwKK4tE1RZMOiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=kcUNMv97lCzYwFRjIDi/nJ3IlJRkOKb2teSUcxXzobWZlxIAwmnQk5WOmSAL0MYGxp m/ToE+M+qquEcezSEWUYpFeWttfCHBC8smx7VqRA73uZjcbCm4mw6WgNuV1Bo34FQz7W f1l9n635U9z5l9a5lOZFLMbwb9n2jrn5D+bqs= Received: by 10.210.110.5 with SMTP id i5mr741906ebc.58.1249988793022; Tue, 11 Aug 2009 04:06:33 -0700 (PDT) Received: from zoinx.mars (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 7sm14428171eyb.30.2009.08.11.04.06.32 (version=SSLv3 cipher=RC4-MD5); Tue, 11 Aug 2009 04:06:32 -0700 (PDT) Message-ID: <4A8151A1.2020103@gmail.com> Date: Tue, 11 Aug 2009 13:10:25 +0200 From: Roel Kluin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: Antoine Jacquet , linux-usb@vger.kernel.org, linux-media@vger.kernel.org, Andrew Morton Subject: [PATCH] zr364: wrong indexes Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The order of indexes is reversed Signed-off-by: Roel Kluin --- Right? -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c index fc976f4..2622a6e 100644 --- a/drivers/media/video/zr364xx.c +++ b/drivers/media/video/zr364xx.c @@ -695,7 +695,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");