Message ID | 20170804174353.16486-2-jbrunet@baylibre.com |
---|---|
State | Accepted |
Commit | c1d04caa30ba77eef23c8263566c449751157583 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2477983qge; Fri, 4 Aug 2017 10:47:38 -0700 (PDT) X-Received: by 10.99.120.68 with SMTP id t65mr3298164pgc.104.1501868858232; Fri, 04 Aug 2017 10:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501868858; cv=none; d=google.com; s=arc-20160816; b=jkjdXhW9TtEnfT1/kdWzvXb/plI+Uwa/uA/sUVtYUKlD8lbF9nedL/GifyAZRit6VA 9tyPnGxuThdJR79t0V7Op0hOUICq93lkMZiYYUxWupzL06OcwQXcqSinCrTe36KoV+ao bp3HbRcTEb6Ih7CukjeyxT3rn25xo8YukGpKBMI3JJExHIuVkSylo77TMyr7UE1TUeLv Cqvwx7oex/4fh3GjuH8a4bL5Cn/EWRJY9uFcDFq1b1rne5W15dsVSrICpUuBjmdkgGyc AWQGWoduT5BaqN5L2+55LlpzX2W4INOm0Kzxkkjme5j2BhLV4838tsSEi4tRrLMsmmWm tIZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=4KsHtw+In8ca/M93v7lKqFnOVsAlP61UkEXsdcSx6bI=; b=mo3TnX7zUbOAUsI/g5kFGCxdqQwLG//uSpwtdUB+ac5yPfptYrTymYWmVRuEOtnZow O9iU/5/JWsiwGfbb7sZWGultpmdfJS4147ips85hDHZ6qiSj1ZlcS4xEFpYgU8PGa6jM Z3cR6+C2swicDrp9lLi6XLZcw2DArCSptKMcAu03jSxwW1BHw7XefKHhK/watEQLizAb Z8FjU0S0fQdOpqSpDlZgxVc/fIHup6th94K7+AnS6Ud8BSryi4+0/JPXz8DPl/T0B96v kljJ0JhJY6mW6r5KBhWUZ0yHwWcqoiMWYf4tVtGY/Ab8fBA/pNCokLpYhpSjrWXm2jik 7Dhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.b=PZvURDPZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p6si1414199pli.757.2017.08.04.10.47.37; Fri, 04 Aug 2017 10:47:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.b=PZvURDPZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753344AbdHDRrf (ORCPT <rfc822;rob.herring@linaro.org> + 25 others); Fri, 4 Aug 2017 13:47:35 -0400 Received: from mail-wr0-f172.google.com ([209.85.128.172]:33394 "EHLO mail-wr0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752553AbdHDRoC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Aug 2017 13:44:02 -0400 Received: by mail-wr0-f172.google.com with SMTP id v105so19270939wrb.0 for <linux-kernel@vger.kernel.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=a6ratXF8sb4MYjWeRxkAJo13MzvcPsi18TNEAD2Nd8NrW6b1du/iwQjK6rLk9rQEVM Z+/oKvmmvSyKf7ZZa5i0L6XehKe3HxDTviKJa52602+H1fOHy6iHJm4XwNFSXLManwaU GwGyopt8dpJCd4CzQ3V2GXozs7ldQQRoaLxmkZE2BawWAjGypSMiMzMSA7v6qyGBCfIx Wty+xixHpK6qnhjOoz363Hj1N1YJHK5xyK9+AIOWNOx4u9E85rlZ9KT5igzSaIIs+Jmb XbPZnZJcIegnj3JI9ed51a5TyJJ1CjCm3myuMQ90dGPPqc9bhXa1jiT/GFLNhUO9GkUZ +PpQ== X-Gm-Message-State: AIVw113/VheFtXGWOLEy+RC3HLfFq92xbNmrJh+jc3/3p0WEb3ggCt6K PS6aVIk347pqse8CN60= 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> Cc: Jerome Brunet <jbrunet@baylibre.com>, linux-mmc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/14] mmc: meson-gx: fix mux mask definition
|
expand
|
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(-) -- 2.9.4