Message ID | 20170821160301.21899-2-jbrunet@baylibre.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp4242212obb; Mon, 21 Aug 2017 09:03:11 -0700 (PDT) X-Received: by 10.99.119.9 with SMTP id s9mr15373321pgc.439.1503331391627; Mon, 21 Aug 2017 09:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503331391; cv=none; d=google.com; s=arc-20160816; b=GvPYIcaxLt4/vMb1jdE0lXLbWYG4AC6hrTdnDsPWmaR52FXiDIawZsBkf9Tr8vdI/1 YTdPEF3XJzH0mD6gKhYoF8uZMJ8tBLpOWqmKw6TarWc/wtkXwjm2CkxfdI+XrRF5J87r 5UZonCV3tfGB+XqduGuh9uAEe21asxh00mB+Rjc+UHW6CK3kOFFaUWTeNNlJBaTt4pNA nluNew63hHU/TpR3s9I5XDKc9L/ruOhZz1AnhB/UvjCD88wq/p7EW2MZu0FSB4DC7Az5 wzP2JvJDiwk3YhM0P0IljR4p/IrnKn24F/8DFo+Vietg9u2WyHrTNthhPEbPFA0JOv9t PAog== 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=4HjYSeOIr1FrVYriP7o+BasjE7jp3EvWNRHUHlO0KZg=; b=Cmp4IL8DTZRr5QcowRcREZF2ooLRr1+aaFD380QqNMUmwTxiN7J8ALnr0Pd2Zuln4Z tBZTzAsbmTsR46beX7atjccVwXL9UyAHbRcfErjqoAv6p5o+lL4f174r5AEqP7AzYp3Z nbfj3JDk2KCbCkwLAh6gMO4EOGiAy4xvYsHoT+x4QDkbqbZLVsWIAWrELG90vA3dH6eB LFZ76cJbLiAN1NAONlRRxJSJIXpGexP3ioGUuIJh5FS3NaxzCRxaBl3QTX9IOIJwuNOX wn4qkYlz5VZ8U01kPGuNRqfzjSujcRNCcj+RPypc3LVPzjuGjHx5mYj/4vfxvNqwRGIq pv9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=W2T1V4mN; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Return-Path: <linux-mmc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t191si7364544pgc.313.2017.08.21.09.03.10; Mon, 21 Aug 2017 09:03:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=W2T1V4mN; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932071AbdHUQDI (ORCPT <rfc822;georgi.djakov@linaro.org> + 6 others); Mon, 21 Aug 2017 12:03:08 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:38187 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932101AbdHUQDH (ORCPT <rfc822; linux-mmc@vger.kernel.org>); Mon, 21 Aug 2017 12:03:07 -0400 Received: by mail-wr0-f171.google.com with SMTP id p8so39037054wrf.5 for <linux-mmc@vger.kernel.org>; Mon, 21 Aug 2017 09:03:06 -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=vtGvtuKp+hmDN0nuu5DpYl6I7MCf8fDGQVP8RGVLE5Y=; b=W2T1V4mNSJ4WFz8klulrXLxdLiPh9+KOXgA8cVLElDVZnv7nQLEV5O7j6lnXF8LMl5 weRulofTmtQ3QU5ZnLwsnYLooo2J6ZPjj7urvsmm0CxnPM5RfMMVVb8UhlQIEeM9hsyd DU/6LqoYbpapbnoqPhe61p07HreKFKRSi+VdIm0DHJm1JEUpAHUCD/pnscbHgOYWY/9a IpPo2yNZAoLqnGeAZRBxFkPHDq0UITcBw/jRQ99mW5h3Cuyzj/irpjFHQLkerlGO0bCF 2++DiH/xWuYjbWnkefVE5vkDMeJeMwPpKajFEK3ic1VNbUf+6wHwe5vH82QAGNNMoVNS Z4+w== 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=vtGvtuKp+hmDN0nuu5DpYl6I7MCf8fDGQVP8RGVLE5Y=; b=ZAtITv9cAYxK1xrRUaCUzi+eoxRYX8Y6OUbMohQOK1yp6RxZWLPYPX2SineW9v5ClR sXFdH7psSaagkFO+MfYa4bPowW8ioz4Ehss8JmCcIYmICATbDnlzYJh6SqhO+8kCtl/s ypexyrXh1z0idC4BNa+Uct6/55G1B/F/vg7/RaPJYwDJUH7dtwMCi5aR08PuDVcfp6VU P5dJCHXC4iWoee7FsQXrqmAkP2IGw25jOqFocz2026bnikW5oGg0MEFz529epX4FBHVk hmC0FE0EnpbfVSfAAKkZzH/M5Z6nZuNfziJb3HkkmT5Iyr/dV839k0WQu4T3q9gPudZC URZg== X-Gm-Message-State: AHYfb5gSQWzyXw/qQoabI8oxr6T6/9maQs7eO2SK4Skxr/CxMowzOInZ qb65kkeOoEI7Oqx7 X-Received: by 10.223.196.10 with SMTP id v10mr461807wrf.5.1503331386121; Mon, 21 Aug 2017 09:03:06 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 63sm8120063wra.30.2017.08.21.09.03.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 09:03:05 -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 v2 01/16] mmc: meson-gx: fix mux mask definition Date: Mon, 21 Aug 2017 18:02:46 +0200 Message-Id: <20170821160301.21899-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20170821160301.21899-1-jbrunet@baylibre.com> References: <20170821160301.21899-1-jbrunet@baylibre.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series | [v2,01/16] 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;