Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4815806ybi; Tue, 28 May 2019 03:02:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyglyHDJRPdK+iA6pPR61WNJ9pFR4IZje2TWZ3+j9UU09vPiU2zUFQ1CSVaRAn46q+4E2XW X-Received: by 2002:a17:902:bc8a:: with SMTP id bb10mr4490505plb.310.1559037733062; Tue, 28 May 2019 03:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559037733; cv=none; d=google.com; s=arc-20160816; b=BIllkwO8XPa734AHBM2rIjsCo71cUndHZjjN57U7laLEO54TF9JmSoTmC0VFc6KQE6 +xsdq2X6ZalW4YTGz8emk9qw3c0bnzj9dQBAVh6odyhJFWpIVWa0fg4EyZ0va/W8qzRI EH85jxXLZp1/q1Kuz1gsR+l36rPrhxaXjfpJaQzBnFIEYkV3ljVVvpUlexq6+68eixEM mXph6Gy4AJ3iAOzSQucVdyHleujUhSyguJyiANAtUmJfi7+IgwN+PPrWcTumEchkxWo0 3sb/Nt6gCaFPo1Yf9xJhp39XPBSy0VsRMG/TD1vmVdub53cCy8s4Igd/Lxffr/0ho1im VaXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0qBRqX2XMtfSxCuz8/c7XjoZrHWlmLEUfZ3Cw72jWdA=; b=Jy/52l9jIj3EXnYGPF5US3ff9jI/xeKO94MXzDp8dH3QOCfWmoxei0I+uYT08Knjbs /uKJTNTOB/oB2dG3NhBLZdRVNycCZe7EGqt/LWVWnDRKrZdKy68LQdPZxrQFS+H/GlK/ ECuV56DIKCw8c5oX3XOAxhAKL6NREVt4gbodb2jpw7EO1y3kqAteBdy2r/rIA41LUlIy GYeyXLIXROGe7jyRqYHHk8lBeX/fCJr4vpSJ7KtJgXIQ1faz5Ibuk6yQxiPqmmritycF 8XCt1WkeKJz6/EDJsU2Yw2NEsTY3V4SwSs2AXG/wVUR97I18fGqAv60hwga2Z8Wvj1On 7gQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eq57DgCP; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si21473681pgp.566.2019.05.28.03.01.55; Tue, 28 May 2019 03:02:13 -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=@ti.com header.s=ti-com-17Q1 header.b=eq57DgCP; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbfE1J70 (ORCPT + 99 others); Tue, 28 May 2019 05:59:26 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:37452 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbfE1J7R (ORCPT ); Tue, 28 May 2019 05:59:17 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4S9xCj8059886; Tue, 28 May 2019 04:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559037552; bh=0qBRqX2XMtfSxCuz8/c7XjoZrHWlmLEUfZ3Cw72jWdA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eq57DgCP8w9+l5KwrA2SV0MEoscaZwb2uorHz78Pm3r4t4QJBO9++Xw0v6HAdghB+ BNju/nYoVhUruIoY/mh/FceZ8IwknQRiF1lY5Fd2J5k3Q6PVgBnhFnhJFFmPW2n5YE cXOVAYf1ZY5O7k+HlSGEsgyFmShKwhS4uhHVeQic= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4S9xCdB019673 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 May 2019 04:59:12 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 28 May 2019 04:59:11 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 28 May 2019 04:59:11 -0500 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4S9x7u8117581; Tue, 28 May 2019 04:59:10 -0500 From: Faiz Abbas To: , CC: , , Subject: [PATCH v3 1/3] mmc: sdhci_am654: Fix SLOTTYPE write Date: Tue, 28 May 2019 15:29:26 +0530 Message-ID: <20190528095928.26452-2-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190528095928.26452-1-faiz_abbas@ti.com> References: <20190528095928.26452-1-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the call to regmap_update_bits() for SLOTTYPE, the mask and value fields are exchanged. Fix this. Signed-off-by: Faiz Abbas Cc: stable --- drivers/mmc/host/sdhci_am654.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index a91c0b45c48d..3222ea4d584d 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -231,7 +231,7 @@ static int sdhci_am654_init(struct sdhci_host *host) ctl_cfg_2 = SLOTTYPE_EMBEDDED; regmap_update_bits(sdhci_am654->base, CTL_CFG_2, - ctl_cfg_2, SLOTTYPE_MASK); + SLOTTYPE_MASK, ctl_cfg_2); return sdhci_add_host(host); } -- 2.19.2