From patchwork Thu Nov 1 15:37:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10664183 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4847F157A for ; Thu, 1 Nov 2018 15:38:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38A052879D for ; Thu, 1 Nov 2018 15:38:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BB092B6DF; Thu, 1 Nov 2018 15:38:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BB03F2879D for ; Thu, 1 Nov 2018 15:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=syr/Azhyzz5hXd/nKRMhkl+kfSOl1ssltp6oBmWmVFs=; b=FF4 yNPjBvrJliRwQb5kx8mF2BawKv0piqPYMbHCK5C0wBSN0wLysHjAU26OG8I9C4ha6ZmoDpsvjUnKh rPtsCxVDItw8ITn4eFXY8s+iD8vVVAV0Lf89EOvGY0al/8uK3HhIsmBpeY7ALfmH5TXNmBmGTviwl NFrDvmp7nbJozZTCjGNpNFcP0Wq5uziYWvwso8zU8dewHdFePNKkq/WlA4J5Mx+7l/d4S25pxMncL 9U/Zk/ffYhSQYnLkTwwt1xgJ8jzSAGaTWL+IDP5sFq9pQMM2WHDEPHme/TNzul8Y+O+Ec62cgEGud Shhq+mRp9eMu7vhlfnUzITw00NK7Dlw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIF2u-0002KG-Lw; Thu, 01 Nov 2018 15:38:08 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIF2s-0002Is-Gu; Thu, 01 Nov 2018 15:38:07 +0000 Received: by mail-pl1-x644.google.com with SMTP id b5-v6so8512829pla.6; Thu, 01 Nov 2018 08:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=zVP2pN0ye/FxR9GIxgZO//LqUu+GXTqXFpr2GoxixpM=; b=Pf63Bku6BEgT6IsjTFjT2FZRDkX1+l0HO0XIpHLOENLnkLn8Z7w0BECLuoBzwgKgTo jc6niN9VIg+r0lzAKs0vCVOGlBAajBppIwn1oJiPthDRgaayLlX++Ao7UdTaRFXPbgd6 mraMveZnFIeYBufX12qjnXUXK19HsML7zzwW87Kk+F8KsTKHDAz2t2xBciB5k987BXtG EmDJh7Yr3B1BDBLVFgt3tPPdBX/kgBWtpSjm31vDXNEhDj1B4mhFQ72NQcTN+sixB7T1 VdKbZbPqZvQJCvHwtYLGGtH10/4YzaIchH0P+DVrDnuppBMgbicYJ4S/+xmwUugMJWOU Lw4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zVP2pN0ye/FxR9GIxgZO//LqUu+GXTqXFpr2GoxixpM=; b=d4lPn1UNIS6dC5HXAgVokCYYERqoUDHOf0mTqSNts1WXBo/6rBF+SeOClTXuCxB1FA CMk3M4QLqYiYCb5/V+0uzvo5MfhYVidzBjCWfExS+MNRg+w5GI1C8fl1QmEOuVK9MWTw 6w+2nCaBdCCIGirBsB9AlGM7GlQYlMVY1MX4+2Q116mLBAn5ZrTz6GV42TmbNjqOCOUj zYlybf9n8JhY1sVfeTXSA4BnfXgAdxYN4yXKB0eiCXMYAaXeydUtXwbRgujw5ce0RW05 jK0bY/ZkO4mgsdmjfRnxMp3fssuHOMjOSpbecSfP7kmO+4JI7do5XlpkWijvWjCxDl7q 5yYg== X-Gm-Message-State: AGRZ1gLTa1TslK86QlFAieZykNvH64OkBlJ0c50Mh4lunLRvQCvkXJJV b3Z6bneiS55awo7L+XsyO4w= X-Google-Smtp-Source: AJdET5dGFEmEEvUpN0BODRoF7heC4ENmoyUHi2V1+piuxcKCdpsql+5+CR5ODjaT8HyvlNR/WRB1JA== X-Received: by 2002:a17:902:503:: with SMTP id 3-v6mr7785019plf.252.1541086676079; Thu, 01 Nov 2018 08:37:56 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id v12-v6sm2421001pfa.167.2018.11.01.08.37.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Nov 2018 08:37:55 -0700 (PDT) From: Yangtao Li To: heiko@sntech.de Subject: [PATCH] i2c: rk3x: fix some typo Date: Thu, 1 Nov 2018 11:37:49 -0400 Message-Id: <20181101153749.22935-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181101_083806_562267_B8B3765A X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yangtao Li , linux-rockchip@lists.infradead.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Yangtao Li Reviewed-by: Heiko Stuebner --- drivers/i2c/busses/i2c-rk3x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index b8a2728dd4b6..fe347e8e2a23 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c @@ -555,7 +555,7 @@ static const struct i2c_spec_values *rk3x_i2c_get_spec(unsigned int speed) * * @clk_rate: I2C input clock rate * @t: Known I2C timing information - * @t_calc: Caculated rk3x private timings that would be written into regs + * @t_calc: Calculated rk3x private timings that would be written into regs * * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that case * a best-effort divider value is returned in divs. If the target rate is @@ -716,7 +716,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate, * * @clk_rate: I2C input clock rate * @t: Known I2C timing information - * @t_calc: Caculated rk3x private timings that would be written into regs + * @t_calc: Calculated rk3x private timings that would be written into regs * * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that case * a best-effort divider value is returned in divs. If the target rate is