From patchwork Thu Jan 26 21:41:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9540169 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 2D114604A0 for ; Thu, 26 Jan 2017 22:05:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ABC826E75 for ; Thu, 26 Jan 2017 22:05:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D4A228306; Thu, 26 Jan 2017 22:05:04 +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=-1.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D72C126E75 for ; Thu, 26 Jan 2017 22:05:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWsA3-0001ju-2U; Thu, 26 Jan 2017 22:04:55 +0000 Received: from mail-wm0-f68.google.com ([74.125.82.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWsA0-0001i7-0U; Thu, 26 Jan 2017 22:04:53 +0000 Received: by mail-wm0-f68.google.com with SMTP id r126so53566561wmr.3; Thu, 26 Jan 2017 14:04:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=+I3XD09ha+MExvKks8h7eiGnTjpjHKZwrLkv6BdV7bQ=; b=HYtQuFuS2IwXqOIifjRlPoPFycVZ5chrHIu/j5Q4mgpHXucNWe/aNDSWWgALpvOMT/ S2owLVVVQ/11rYaGLmM9kn39uBERsjh58NEfKB5oD+SqBWZmM2NxvXDZ8XWQpks0piSa FUDlJrCxV4x3C4ZRJqaqO0Y28S8hqTwua2O4/TKbwkHEvWS1Slif3FF1glVBKDfRe2zf Ja0VEBmAtOwU5lEunsfeNFRkSvRa9Nn3glYKvmtfptQXVh2R2mkZ9iSV1LW++PXqb2Gg +BPqlrURlN1SeXG+G3QwpLu0BBbrjrZsnMz/2QRpvVFcPVGUulxpZgU3xIykDVTzk04n 8CvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=+I3XD09ha+MExvKks8h7eiGnTjpjHKZwrLkv6BdV7bQ=; b=RTrQBEiChk7q6zn5Arcl+pNi/rDgk+iVYuUUc5K1U6Z4kMhRTTfaFEwlEnUO2AoyYX hlXEsUt4NTxBxo+7x8ehe+KLQwaIZQl05ZwdLJsdH7W79fqcrpY146zoaaf2P3ww+7Gh uFzmV7ZZ+dedaV8C024OE5+FyXwnaEAwANr1pvnRCOKsI0KCK1wQhTXPlPyFHLHmG5ga wlmFSzgOiKWiY4nlF49ewNbrr/0/emKbXjdtmubuI4h2p++hMGUzr+NiHsQZ1v434uvL TxkIVuq2+GisK0OGIx0ZLcnovnft75wnRKKSyPlVWIyCBCFks65x1qljpadoYS6QiQNW mj1A== X-Gm-Message-State: AIkVDXIguKeICTkBeujPzO9xI30C/CcKU0i1YEZFTDo2grcBCWlpZrUjQtw93peBWPGf3A== X-Received: by 10.28.184.133 with SMTP id i127mr415313wmf.49.1485468209861; Thu, 26 Jan 2017 14:03:29 -0800 (PST) Received: from ?IPv6:2003:c6:ebc5:6c00:4534:522a:e499:2bef? (p200300C6EBC56C004534522AE4992BEF.dip0.t-ipconnect.de. [2003:c6:ebc5:6c00:4534:522a:e499:2bef]) by smtp.googlemail.com with ESMTPSA id k195sm604631wmd.7.2017.01.26.14.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 14:03:29 -0800 (PST) To: Ulf Hansson , Carlo Caione , Kevin Hilman From: Heiner Kallweit Subject: [PATCH 1/3] mmc: meson-gx: fix setting f_min Message-ID: Date: Thu, 26 Jan 2017 22:41:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_140452_243371_A0876331 X-CRM114-Status: UNSURE ( 8.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Currently f_min is set to 4 MHz whilst the comment states 400 MHz. I think the itention is to set f_min to 400 kHz. Change value and comment accordingly. Signed-off-by: Heiner Kallweit Acked-by: Kevin Hilman --- drivers/mmc/host/meson-gx-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index bf19d03c..cf071756 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -268,7 +268,7 @@ static int meson_mmc_clk_init(struct meson_host *host) if (f_min != UINT_MAX) f_min = DIV_ROUND_UP(CLK_SRC_XTAL_RATE, CLK_DIV_MAX); else - f_min = 4000000; /* default min: 400 MHz */ + f_min = 400000; /* default min: 400 kHz */ host->mmc->f_min = f_min; /* create the mux */