Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3050516imm; Fri, 24 Aug 2018 09:39:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaIeALhJn2J3yiqAOYEGq+WnMXSvWyPCzrUbVrq7MtiFCuphirtTcd0DdTjhXCQZLnJe0ZZ X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr2405441pls.233.1535128751885; Fri, 24 Aug 2018 09:39:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535128751; cv=none; d=google.com; s=arc-20160816; b=z7Pd0NrqI6w5BZZeBWxXXUbLZxbzmtbi5dTYTclU9yKPw46Tlm21dEKC3DPz/RcBnQ JbeHp06rRDX8ALOPsVuQCmlCjEcAUIbyK1N9ZlNhf2cFBoRJsi5YMBpuNfx5aY5LxSDX xx3wntjcWNqlRzieEtOR7UZ53v4O6QPuEvzCvTvta4wimgvYHbHJ3RTvuBiC7Sgk8lAf 2c1XzcRFItKXTd6khxole3GxSgFj6DMeON2v9g53DCApd9IFz5S63a7ME/E90Dvzc6/b zyVpMkLi41kQMSzDEjvfCTqbano8nFBtOSxaKioj+Reaq2eukAmix+AtcMKblbhwAWlp SUCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=p6HCXjMSu5InGGvzqRToTJ7R3cyPCPE3RX8MVxo/I/4=; b=Io0RiLizVc+DpOiNraccRxzy4bV2VJWyobXD0aIoyNw6RJudUdy8Hjm5wQd977Q4/b CNwfigIHlr9PKHbRGSTDFGSutuapDzvXkphsNXMA2FFGkIqG7dnu3ggw7oR85vX58dyU vg2tEKc+inCZJGrTJtxjz0KB22YMuTbubJEQ8rwFT+Q3IYZ37aim205Rw35jsVj6PEcO iUzuCy+cC5OSg0QgCwxXolnLVy2sO9GGMh1SEBgFc8Gf6PCGtUcSw5m3BpxIL6HtIidM Tva3U1L+86pCHKZ+MRjRMWMY50xY3cQBCRb4pnvCvRYyejT5CIRqqbJCP3K+PgWkVfWk Ojyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u91-v6si7055086plb.73.2018.08.24.09.38.56; Fri, 24 Aug 2018 09:39:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728389AbeHXUMS (ORCPT + 99 others); Fri, 24 Aug 2018 16:12:18 -0400 Received: from srv-hp10-72.netsons.net ([94.141.22.72]:35964 "EHLO srv-hp10-72.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727644AbeHXULe (ORCPT ); Fri, 24 Aug 2018 16:11:34 -0400 Received: from [109.168.11.45] (port=58220 helo=pc-ceresoli.dev.aim) by srv-hp10.netsons.net with esmtpa (Exim 4.91) (envelope-from ) id 1ftF49-00EAi1-Ra; Fri, 24 Aug 2018 18:36:05 +0200 From: Luca Ceresoli To: linux-media@vger.kernel.org Cc: Luca Ceresoli , Leon Luo , Mauro Carvalho Chehab , Sakari Ailus , linux-kernel@vger.kernel.org Subject: [PATCH 5/7] media: imx274: fix error in function docs Date: Fri, 24 Aug 2018 18:35:23 +0200 Message-Id: <20180824163525.12694-6-luca@lucaceresoli.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180824163525.12694-1-luca@lucaceresoli.net> References: <20180824163525.12694-1-luca@lucaceresoli.net> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - srv-hp10.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: srv-hp10.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: srv-hp10.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This parameter holds the number of bytes, not bits. Signed-off-by: Luca Ceresoli --- drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c index 6572d5728791..07bc41f537c5 100644 --- a/drivers/media/i2c/imx274.c +++ b/drivers/media/i2c/imx274.c @@ -668,7 +668,7 @@ static inline int imx274_write_reg(struct stimx274 *priv, u16 addr, u8 val) * @addr: Address of the LSB register. Other registers must be * consecutive, least-to-most significant. * @val: Value to be written to the register (cpu endianness) - * @nbytes: Number of bits to write (range: [1..3]) + * @nbytes: Number of bytes to write (range: [1..3]) */ static int imx274_write_mbreg(struct stimx274 *priv, u16 addr, u32 val, size_t nbytes) -- 2.17.1