Message ID | 20170804174353.16486-2-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 024BC60375 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 4 Aug 2017 17:44:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E11A828926 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 4 Aug 2017 17:44:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D24F628964; Fri, 4 Aug 2017 17:44:56 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham 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 634752891B for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 4 Aug 2017 17:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=aLjKWs0hRo7Iis9I15DxhLvORblX/inHH0+wMhmWWrg=; b=qMscFgA6I0Fc9a+pD1MY3zjcDX YBtAMpd1ttjmuxm6FbaWPuuZXq/KzCyrtnMip8ONOXo4rWLKpisVwc+2FMCCUtezGJUskKt54hQbQ JnnYgmerQHqQ7ILQ+2onIf2lQNI5sllEMDX5C1/jhVcLFM4Ftu2uh90WNyAiUwGZkcQMqmytKyUYd X+8NeQhARQxMgUEBDmlLkdrknlBmG5gPcVq6QThNe/DT3ADCKprw/K5svB+bjaiQxtqSOUPEMb3os ysyvF6HYohgzH4t6VfPZhfoGujvRw27d6FxMxEmpCHD4qkdUr93jy0XdjfE/ZBBLhj4sr6jm7dhei u9D8D9QA==; 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 1ddgeb-0006mr-PZ; Fri, 04 Aug 2017 17:44:53 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddge7-0005k8-7f for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2017 17:44:25 +0000 Received: by mail-wr0-x234.google.com with SMTP id k71so19262246wrc.2 for <linux-arm-kernel@lists.infradead.org>; Fri, 04 Aug 2017 10:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4KsHtw+In8ca/M93v7lKqFnOVsAlP61UkEXsdcSx6bI=; b=PZvURDPZnJ9n4NS4OAeYccX9UfoOvOiE54Qb/HNiRluoee6tTXkBYP0isbHmeHgqqi F2nXzPkdKW6iRm5u++88bSOKf+gjcl0cKU/aaiXljnbM9w4mefDdpwyRpFTXdpJMrlW+ KFBqSK4e6qkaP4Fbv1sL1eXDu4yOpnmjb3yZ215bA/xDZP5z62pQIc3w67JD+wN63YQe ekhNuW4zN+q8pij95xr/thaYg+eNC6K5+JUONrESQu3BpXrkgZBYp9qNynysQYJlMWqa mOOnWIFPlpPc7kSiivEPIG5ZGBw1JYyKM9OOvMvtd46engBkZuk5Y6h7KJ5jIH+7M1Jx WLRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4KsHtw+In8ca/M93v7lKqFnOVsAlP61UkEXsdcSx6bI=; b=Qtzic3C+j7f8ztBN50l+WbSGiXorUNHNl2LWUoO7ALyPEBD9PwacPzhsR4cl56J9Vh MGY0T96qES2afQVVd2fph1/BjyhHOVD9q90JkQzQKfXVGXK/1G3KuoNZ0kBIzMpc7cAk 247/G1OEHLExWfUnBIHyqPDbmjge1fjQwH+/Y505PWL2YQrMGaWTIWF/Rc6HNbRd+pNp Z44awtKAPTVdfElp1NWoTHWc3242Y1Q5blhJHQ9Qs600XQyHsYy09XIDme4vsokjBJHc ykT6LBVCRsidNPX551oA0Rm/0gDaeDB8KGGi8Zb9Ujv/Lr9zQwkI2gjxoLlefeN8MMpo K0mg== X-Gm-Message-State: AIVw113J+hORRttYB2tv3513z0hrdlAPWOrm1TTUjYirUtWD2SC1ysQP Rcrh9hz8N4XJLCc2 X-Received: by 10.223.139.219 with SMTP id w27mr2184716wra.146.1501868641307; Fri, 04 Aug 2017 10:44:01 -0700 (PDT) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id p17sm996082wma.45.2017.08.04.10.44.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 10:44:00 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Subject: [PATCH 01/14] mmc: meson-gx: fix mux mask definition Date: Fri, 4 Aug 2017 19:43:40 +0200 Message-Id: <20170804174353.16486-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170804174353.16486-1-jbrunet@baylibre.com> References: <20170804174353.16486-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170804_104423_563201_CB24091E X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-amlogic@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet <jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index de962c2d5e00..4217287923d4 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -366,7 +366,7 @@ static int meson_mmc_clk_init(struct meson_host *host) init.num_parents = MUX_CLK_NUM_PARENTS; host->mux.reg = host->regs + SD_EMMC_CLOCK; host->mux.shift = __bf_shf(CLK_SRC_MASK); - host->mux.mask = CLK_SRC_MASK; + host->mux.mask = CLK_SRC_MASK >> host->mux.shift; host->mux.flags = 0; host->mux.table = NULL; host->mux.hw.init = &init;
CCF generic mux will shift the mask using the value defined in shift Define the mask accordingly Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- drivers/mmc/host/meson-gx-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)