From patchwork Fri Jul 8 12:18:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9220751 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E68D36089D for ; Fri, 8 Jul 2016 12:20:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D869228748 for ; Fri, 8 Jul 2016 12:20:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD04D2874A; Fri, 8 Jul 2016 12:20:43 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7F12628748 for ; Fri, 8 Jul 2016 12:20:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLUkX-0001l9-WF; Fri, 08 Jul 2016 12:19:18 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLUkB-0001dW-MX for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2016 12:18:56 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O9Z01IGBWUWPVD0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2016 21:18:32 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.112]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id EC.D9.05174.81A9F775; Fri, 8 Jul 2016 21:18:32 +0900 (KST) X-AuditID: cbfee68d-f79876d000001436-52-577f9a18e427 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id D5.7E.04429.81A9F775; Fri, 8 Jul 2016 05:18:32 -0700 (MST) Received: from samsunx.samsung ([10.113.63.54]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O9Z00KBAWUSMU50@mmp1.samsung.com>; Fri, 08 Jul 2016 21:18:31 +0900 (KST) From: Andi Shyti To: Mark Brown Subject: [PATCH 4/4] spi: s3c64xx: restore removed comments Date: Fri, 08 Jul 2016 21:18:24 +0900 Message-id: <1467980304-14093-5-git-send-email-andi.shyti@samsung.com> X-Mailer: git-send-email 2.8.1 In-reply-to: <1467980304-14093-1-git-send-email-andi.shyti@samsung.com> References: <1467980304-14093-1-git-send-email-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGLMWRmVeSWpSXmKPExsWyRsSkQFdiVn24wdO/AhbbjzxjtVj84zmT xdSHT9gsXr8wtOh//JrZYtPja6wWl3fNYbOYcX4fk0Xjx5vsFofftLM6cHlcX/KJ2WPTqk42 j81L6j36tqxi9Pi8SS6ANYrLJiU1J7MstUjfLoErY9v96cwFK9gqbpzezdbAOJe1i5GTQ0LA RGLS12fMELaYxIV769lAbCGBFYwSH1fKdjFygNVM/VLaxcgFFF7KKHHm2EdmiJqPjBJHLuqB 2GwCmhJNt3+A9YoIKEtc/b6XBaSBWeA0k8Sy82/AGoQFrCWmn5sNZrMIqEr0LLrOBrKAV8BN 4vT2Yogb5CQuT38ANodTwF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vKs1JLT7EaAp010RmKdHkfGD855XEGxqbmBlZGpkbWhgZmyuJ 8z7+vy5MSCA9sSQ1OzW1ILUIpo+Jg1OqgZHjUsTqz0/X3ZDmteaaFX1sHpvyQ337QMUVWl9e rWlW5qn5a/S5xCow8fHxt4bdSveeWGyUfxt0Y3MFs5PmPO7Jk39d9jo3m3XOd85JP5bElfHd NEz6eNomVC4z4/Uh8xt889R/vahna3NZV6zwNtNt+8XcffsSLtQbrZrvkVMY8Cf4oFvckbNK LMUZiYZazEXFiQA/H/PrxwIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160708_051855_899913_B85DD4EF X-CRM114-Status: GOOD ( 10.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, Andi Shyti , linux-kernel@vger.kernel.org, Andi Shyti , linux-spi@vger.kernel.org, Kukjin Kim , Sylwester Nawrocki , linux-arm-kernel@lists.infradead.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 Patch a9e93e8 has erroneously removed some comments which are important to understand why the bus frequency is multiplied by two during the spi transfer. Signed-off-by: Andi Shyti --- drivers/spi/spi-s3c64xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 1874bc5..d1fe100 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -639,6 +639,8 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd) writel(val, regs + S3C64XX_SPI_MODE_CFG); if (sdd->port_conf->clk_from_cmu) { + /* Configure Clock */ + /* There is half-multiplier before the SPI */ clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); } else { /* Configure Clock */