From patchwork Wed Jul 19 15:25:47 2017
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 791085
X-Patchwork-Delegate: boris.brezillon@free-electrons.com
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Authentication-Results: ozlabs.org; spf=none (mailfrom)
smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;
helo=bombadil.infradead.org;
envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;
receiver=)
Authentication-Results: ozlabs.org; dkim=pass (2048-bit key;
unprotected) header.d=lists.infradead.org
header.i=@lists.infradead.org header.b="ECkkPD0Z";
dkim-atps=neutral
Received: from bombadil.infradead.org (bombadil.infradead.org
[65.50.211.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
bits)) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 3xCLYn1SBMz9s8J
for ;
Thu, 20 Jul 2017 01:29:49 +1000 (AEST)
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=BNdJv9dUssXYJPsRqm25CDp0Fbf3mrRH+ZKcGNVkdUU=;
b=ECkkPD0Zb3MVytz+ewLwWwv43s
1ja7jKR0AOtLkwAuJT1rOsKVdNTg7TAGU9UE/F+HmqMdXHnP7O/b84E1kWoZpjRp6Ug5mUoj8mAMY
suArqMn2sBNry/tFE5wso3Y3T3wozbk3ztnMiKEMhE6RGtoSL5U2kAhqKNFa73K4cLgTqAU+UV/nI
f86z0hJ4MzEmwkgU1nh3q27BqAU6Ukmou2Tsmct/tDedm36T6LRGSYjz6Wabbi/de5cD3wkFucShV
B6tCOppOIFL4jcEzv4EMDJ+FUtcWWSkzYRtKLCndICjCp2nN3uwY5mRL73Z0O10ZJ/VmBQnLpSn1I
SxZZs5JA==;
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 1dXquz-0001YW-RP; Wed, 19 Jul 2017 15:29:41 +0000
Received: from metis.ext.pengutronix.de
([2001:67c:670:201:290:27ff:fe1d:cc33])
by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))
id 1dXqui-0001II-Tb
for linux-mtd@lists.infradead.org; Wed, 19 Jul 2017 15:29:26 +0000
Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]
helo=dude.pengutronix.de.)
by metis.ext.pengutronix.de with esmtp (Exim 4.84_2)
(envelope-from )
id 1dXquH-0001si-2q; Wed, 19 Jul 2017 17:28:57 +0200
From: Philipp Zabel
To: linux-kernel@vger.kernel.org
Subject: [PATCH 043/102] mtd: spi-nor: stm32-quadspi: explicitly request
exclusive reset control
Date: Wed, 19 Jul 2017 17:25:47 +0200
Message-Id: <20170719152646.25903-44-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.11.0
In-Reply-To: <20170719152646.25903-1-p.zabel@pengutronix.de>
References: <20170719152646.25903-1-p.zabel@pengutronix.de>
X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-mtd@lists.infradead.org
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20170719_082925_133284_C35C1A8D
X-CRM114-Status: GOOD ( 11.85 )
X-Spam-Score: -1.9 (-)
X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary:
Content analysis details: (-1.9 points)
pts rule name description
---- ----------------------
--------------------------------------------------
-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-BeenThere: linux-mtd@lists.infradead.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Linux MTD discussion mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: Boris Brezillon ,
Maxime Coquelin ,
Richard Weinberger ,
Marek Vasut ,
linux-mtd@lists.infradead.org, Philipp Zabel ,
Cyrille Pitchen ,
Brian Norris ,
David Woodhouse ,
Alexandre Torgue
MIME-Version: 1.0
Sender: "linux-mtd"
Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org
Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
reset lines") started to transition the reset control request API calls
to explicitly state whether the driver needs exclusive or shared reset
control behavior. Convert all drivers requesting exclusive resets to the
explicit API call so the temporary transition helpers can be removed.
No functional changes.
Cc: Cyrille Pitchen
Cc: Marek Vasut
Cc: David Woodhouse
Cc: Brian Norris
Cc: Boris Brezillon
Cc: Richard Weinberger
Cc: Maxime Coquelin
Cc: Alexandre Torgue
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Philipp Zabel
---
drivers/mtd/spi-nor/stm32-quadspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi-nor/stm32-quadspi.c b/drivers/mtd/spi-nor/stm32-quadspi.c
index 86c0931543c53..a367c56deb3cc 100644
--- a/drivers/mtd/spi-nor/stm32-quadspi.c
+++ b/drivers/mtd/spi-nor/stm32-quadspi.c
@@ -633,7 +633,7 @@ static int stm32_qspi_probe(struct platform_device *pdev)
return ret;
}
- rstc = devm_reset_control_get(dev, NULL);
+ rstc = devm_reset_control_get_exclusive(dev, NULL);
if (!IS_ERR(rstc)) {
reset_control_assert(rstc);
udelay(2);