From patchwork Fri Jul 8 14:46:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9221131 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 82B3260467 for ; Fri, 8 Jul 2016 14:47:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7449628858 for ; Fri, 8 Jul 2016 14:47:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68FF12885A; Fri, 8 Jul 2016 14:47:48 +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=unavailable 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 0BBAB28858 for ; Fri, 8 Jul 2016 14:47:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755613AbcGHOrq (ORCPT ); Fri, 8 Jul 2016 10:47:46 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:47295 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755490AbcGHOrd (ORCPT ); Fri, 8 Jul 2016 10:47:33 -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 <0OA001ERJ3R5VJ20@mailout1.samsung.com>; Fri, 08 Jul 2016 23:47:29 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.113]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 02.9D.05174.10DBF775; Fri, 8 Jul 2016 23:47:29 +0900 (KST) X-AuditID: cbfee68d-f79876d000001436-89-577fbd01b7e9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id A6.55.04429.00DBF775; Fri, 8 Jul 2016 07:47:29 -0700 (MST) 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 <0OA000AMT3QD1730@mmp2.samsung.com>; Fri, 08 Jul 2016 23:47:28 +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 v2 6/7] spi: s3c64xx: restore removed comments Date: Fri, 08 Jul 2016 23:46:40 +0900 Message-id: <1467989201-14661-7-git-send-email-andi.shyti@samsung.com> X-Mailer: git-send-email 2.8.1 In-reply-to: <1467989201-14661-1-git-send-email-andi.shyti@samsung.com> References: <1467989201-14661-1-git-send-email-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsWyRsSkUJdxb324wfIzAhbbjzxjtVj84zmT xdSHT9gsrn95zmox/8g5Vosbv9pYLV6/MLTof/ya2WLT42usFh977rFazDi/j8mi8eNNdoul 1y8yWVw85WrRuvcIu8XhN+2sFj/OdLNYrNr1h9FByGPNvDWMHu9vtLJ7XO7rZfK4vuQTs8fO WXfZPTat6mTz2Lyk3qNvyypGj8+b5AI4o7hsUlJzMstSi/TtErgyGhdfZy/oYau4/2UXUwNj B2sXIweH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Vm4CmRNPtH2BVIgLPmCQ+NLwGq2IW2M4kcezpWrC5wgJ2Et8OTwTr YBFQlbi+8gAbiM0r4CbxZXoz1D45icvTH4DFOQXcJQ6s/AXWKwRUc/nuF/YJjLwLGBlWMUqk FiQXFCel5xrlpZbrFSfmFpfmpesl5+duYgRH+DPpHYyHd7kfYhTgYFTi4Q2oqw8XYk0sK67M PcQowcGsJMIrtgsoxJuSWFmVWpQfX1Sak1p8iNEU6LCJzFKiyfnA5JNXEm9obGJmZGlkbmhh ZGyuJM77+P+6MCGB9MSS1OzU1ILUIpg+Jg5OqQbGI9uS7ph+1JKpDNrRXm3ydL7L2YTrP9QN uu59W5fx7PtdjQuvti7JvOOt8nLK9IiJT9+HTj7w6FBy5ybGdUdXf99Tn/R3apa1xvu0bd9n NjTV/dw4d3tr5Mo5oonCkyYbMQs8/VbwLcAxbvOcaxzrVvA+edsfybh79R3Lzw/NttRef3Z+ A9MbYX0lluKMREMt5qLiRACfQKhTBgMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@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. Signed-off-by: Andi Shyti Reviewed-by: Krzysztof Kozlowski --- 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..32b66f0 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) { + /* There is half-multiplier before the SPI */ clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); } else { /* Configure Clock */