Message ID | 52E84340.6050505@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mmc-owner@kernel.org> X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BD685C02DC for <patchwork-linux-mmc@patchwork.kernel.org>; Tue, 28 Jan 2014 23:54:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9EF62015A for <patchwork-linux-mmc@patchwork.kernel.org>; Tue, 28 Jan 2014 23:54:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E3FB20125 for <patchwork-linux-mmc@patchwork.kernel.org>; Tue, 28 Jan 2014 23:54:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755416AbaA1XyN (ORCPT <rfc822;patchwork-linux-mmc@patchwork.kernel.org>); Tue, 28 Jan 2014 18:54:13 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:54386 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754026AbaA1XyM (ORCPT <rfc822; linux-mmc@vger.kernel.org>); Tue, 28 Jan 2014 18:54:12 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0400DZJYE9ND40@mailout4.samsung.com> for linux-mmc@vger.kernel.org; Wed, 29 Jan 2014 08:54:09 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.114]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 68.D5.12635.12348E25; Wed, 29 Jan 2014 08:54:09 +0900 (KST) X-AuditID: cbfee68d-b7fcd6d00000315b-34-52e8432103d1 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 24.1B.28157.12348E25; Wed, 29 Jan 2014 08:54:09 +0900 (KST) Received: from [10.252.81.186] by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N04005LGYE92040@mmp1.samsung.com>; Wed, 29 Jan 2014 08:54:09 +0900 (KST) Message-id: <52E84340.6050505@samsung.com> Date: Wed, 29 Jan 2014 08:54:40 +0900 From: Jaehoon Chung <jh80.chung@samsung.com> User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-version: 1.0 To: Seungwon Jeon <tgih.jun@samsung.com>, linux-mmc@vger.kernel.org Cc: 'Chris Ball' <chris@printf.net> Subject: Re: [PATCH v2 3/8] mmc: dw_mmc: replace the bus_hz checking point References: <52E76956.1090107@samsung.com> <000701cf1c28$1cf0b3c0$56d21b40$%jun@samsung.com> In-reply-to: <000701cf1c28$1cf0b3c0$56d21b40$%jun@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsWyRsSkSFfR+UWQwenvyhYTLm9ntDjyv5/R 4sP9i8wOzB43Xi1k8ujbsorR4/MmuQDmKC6blNSczLLUIn27BK6MWX/8C/bJVUx/vZOlgXGO RBcjB4eEgInE7EslXYycQKaYxIV769m6GLk4hASWMkpMOvCcGabm7B97iPgiRol9s38wQziv GSVab35kBOnmFdCSmHu/gxXEZhFQlTg3fyU7iM0moCOx/dtxJhBbVCBMYuqJqywQ9YISPybf A7NFBJwljv7dA7aMWUBZ4lhbHUhYWMBL4t6mh2CtQgJxEq+2PgcbySlgJ7H+80smiHI9ifsX tUDCzALyEpvXvAU7TUJgFbvE8jdToM4RkPg2+RALxC+yEpsOMEP8K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MqeW2efQvezTryZMWM9z1Hfv4n0cmsL+P44fWnyx0bVp cW3CzopnLd0Sam1nUm+WHF+55sFKv5Ko5++MthgdPXKxM+DnkpyZiyIv+pZeuzFbq+rb1LkH U1xi71cEvLxy4IB4iYHXCRaW4AsKDXGxn3fGVhleXngkZIbN/5PrUp/eV+NRYinOSDTUYi4q TgQAoOx1zgwDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -117,9 +117,8 @@ static int dw_mci_exynos_priv_init(struct dw_mci *host) static int dw_mci_exynos_setup_clock(struct dw_mci *host) { struct dw_mci_exynos_priv_data *priv = host->priv; - unsigned long rate = clk_get_rate(host->ciu_clk); - host->bus_hz = rate / (priv->ciu_div + 1); + host->bus_hz /= (priv->ciu_div + 1); return 0; }