From patchwork Tue Jul 12 10:02:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9224923 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 BC96760868 for ; Tue, 12 Jul 2016 10:02:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD79827F7A for ; Tue, 12 Jul 2016 10:02:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1FD727F9E; Tue, 12 Jul 2016 10:02:42 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4972C27F7A for ; Tue, 12 Jul 2016 10:02:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753713AbcGLKCk (ORCPT ); Tue, 12 Jul 2016 06:02:40 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:53061 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932521AbcGLKCh (ORCPT ); Tue, 12 Jul 2016 06:02:37 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OA702KQZ583PGD0@mailout1.samsung.com>; Tue, 12 Jul 2016 19:02:27 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.113]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 64.E5.05174.330C4875; Tue, 12 Jul 2016 19:02:27 +0900 (KST) X-AuditID: cbfee68d-f79876d000001436-9e-5784c033938d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id D4.9C.02101.330C4875; Tue, 12 Jul 2016 19:02:27 +0900 (KST) Received: from samsunx.samsung ([10.113.63.54]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OA7009HH57YEU50@mmp2.samsung.com>; Tue, 12 Jul 2016 19:02:26 +0900 (KST) From: Andi Shyti To: Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , Mark Brown , Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd Cc: Chanwoo Choi , Jaehoon Chung , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-spi@vger.kernel.org, Andi Shyti , Andi Shyti Subject: [PATCH v3 6/7] spi: s3c64xx: restore removed comments Date: Tue, 12 Jul 2016 19:02:15 +0900 Message-id: <1468317736-18841-7-git-send-email-andi.shyti@samsung.com> X-Mailer: git-send-email 2.8.1 In-reply-to: <1468317736-18841-1-git-send-email-andi.shyti@samsung.com> References: <1468317736-18841-1-git-send-email-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCIsWRmVeSWpSXmKPExsWyRsSkUNf4QEu4wYVfEhbbjzxjtVj84zmT xdSHT9gsrn95zmox/8g5Vosbv9pYLV6/MLTof/ya2WLT42usFh977rFazDi/j8mi8eNNdoul 1y8yWVw85WrRuvcIu8XhN+2sFj/OdLNYrNr1h9FByGPNvDWMHu9vtLJ7XO7rZfK4vuQTs8fO WXfZPTat6mTz2Lyk3qNvyypGj8+b5AI4o7hsUlJzMstSi/TtErgy+vaWFRxhr/j1/jpLA+MK ti5GDg4JAROJu+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Zpu/wBLiAg8Y5L40PCaEcRhFtjOJHHs6VpWkCphATuJvRfOgNks AqoSDRengnXzCrhJ/F+4jglin5zE5ekPwO7gFHCXmNy6EiwuBFQz7/UO1gmMvAsYGVYxSqQW JBcUJ6XnGuallusVJ+YWl+al6yXn525iBMf3M6kdjAd3uR9iFOBgVOLhXVDSEi7EmlhWXJl7 iFGCg1lJhPfKXqAQb0piZVVqUX58UWlOavEhRlOgwyYyS4km5wNTT15JvKGxiZmRpZG5oYWR sbmSOO/j/+vChATSE0tSs1NTC1KLYPqYODilGhj3Hp177eOBclV7zo3zq05ON3ypdObUv7dz jhkkvfvJ0Bg99/aOpGtODBPYJoheklRbMynwquvty1bV6e6/Kz/vnJWQb3B67a5v3+87P1L/ eeVOzORe7hsh5qk8u1//2VCiZvZ61Z03/Z87OO4tWTtN+EeJ9OUNk3MuaH2Q7HZOcxfas/QN 6+HZb5RYijMSDbWYi4oTAYFWn90FAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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. Reword the previous comment to a more appropriate message. Suggested-by: Sylwester Nawrocki Signed-off-by: Andi Shyti Reviewed-by: Michael Turquette --- drivers/spi/spi-s3c64xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 6da663f..5bedafc 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -639,6 +639,7 @@ 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) { + /* The src_clk clock is divided internally by 2 */ clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); } else { /* Configure Clock */