From patchwork Tue Sep 18 04:20:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 1470421 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2D8B43FCFC for ; Tue, 18 Sep 2012 04:20:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752015Ab2IREU4 (ORCPT ); Tue, 18 Sep 2012 00:20:56 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:61817 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757Ab2IREUz (ORCPT ); Tue, 18 Sep 2012 00:20:55 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MAJ00G702PZVPM0@mailout1.samsung.com> for linux-mmc@vger.kernel.org; Tue, 18 Sep 2012 13:20:54 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-7c-5057f6a6cd8f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id C2.89.03860.6A6F7505; Tue, 18 Sep 2012 13:20:54 +0900 (KST) Received: from [10.90.51.55] by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MAJ006G02QT5I60@mmp1.samsung.com> for linux-mmc@vger.kernel.org; Tue, 18 Sep 2012 13:20:54 +0900 (KST) Message-id: <5057F695.5080601@samsung.com> Date: Tue, 18 Sep 2012 13:20:37 +0900 From: Jaehoon Chung User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-version: 1.0 To: linux-mmc Cc: Chris Ball , Kyungmin Park Subject: [PATCH] mmc: sdhci-s3c: fix the wrong number of max bus clock Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t9jAd1l38IDDK7ul7Q48r+f0YHR4/Mm uQDGKC6blNSczLLUIn27BK6Mb1ePMRasZqt4/Ho/cwPjEtYuRk4OCQETiQdTJ7JD2GISF+6t Z+ti5OIQEljEKNE07xAjhNPOJLH7bz9YFa+AlsTxjgnMIDaLgKrE8099bCA2m4COxPZvx5lA bFGBEIklc79C1QtK/Jh8jwXEFhHQlOjcvhKsnlnAS+Ll22mMILawgJvEkWVLoOI6Evtbp0HZ 8hKb17xlnsDINwvJqFlIymYhKVvAyLyKUTS1ILmgOCk910ivODG3uDQvXS85P3cTIziknknv YFzVYHGIUYCDUYmHNyEoPECINbGsuDL3EKMEB7OSCG/kDKAQb0piZVVqUX58UWlOavEhRmkO FiVxXuFPgQFCAumJJanZqakFqUUwWSYOTqkGxkAOlbg1gksWXGvnyD68L9DL97ag46eEq7P7 D1ca6PtfOaezkYMtu2/jbM4pXGr75CPWap08nvebYYLHiyYjqTRJk9SNj80O907vPmBdUHNx T6H1Isay71c9Oq+qpYh2p5totf7OLbr+fEOc81wP1XfK+s/WfT4vYquw+W7DIRYrtZNR08J1 lFiKMxINtZiLihMBqmQF6SUCAAA= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org We can use the four bus-clock at sdhci-s3c.c But when removed, didn't check the fourth bus clock. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- drivers/mmc/host/sdhci-s3c.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 0c77b10..f2b76ef 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c @@ -788,7 +788,7 @@ static int __devexit sdhci_s3c_remove(struct platform_device *pdev) pm_runtime_disable(&pdev->dev); - for (ptr = 0; ptr < 3; ptr++) { + for (ptr = 0; ptr < MAX_BUS_CLK; ptr++) { if (sc->clk_bus[ptr]) { clk_disable(sc->clk_bus[ptr]); clk_put(sc->clk_bus[ptr]);