Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13476921ybl; Sun, 29 Dec 2019 12:50:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyMgOFxTPsf1K5+zp2ID0ve3Wqcn01ILOruOWpW+gAq3aik9YGsbbWsQsRO3wTSBXKL2TD5 X-Received: by 2002:a9d:6502:: with SMTP id i2mr42981641otl.206.1577652640093; Sun, 29 Dec 2019 12:50:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577652640; cv=none; d=google.com; s=arc-20160816; b=LUVzGfNkCISpDeZFW7vRSNscZaoNddQNXIGArfd0atPiKta5wjU8945klBPJ1xELlD yRhBCuxC+bdS65fzSxWLjCp91zZjlQhlOu4mNCWsyi6atDjeyLwYDI8RhzMUry8l/kkT ClkWnnow9dSnr8gfptbBXipAErfY0GVR07EIT/q8V8/Ab6+F5MZ9E2V84XM04lVlSnhS G6qk7C+GABPE7M6h+MSlMa9mEJsiIDM4bJGA+fU547KXxhvowJgs7q44H59XUpzOelWD P+7nDlaxBgtzgQzVLYwZmjX4EVr8s8WTDtfxw6MWgc/GbU1UoZoUycsyqQvabUIayN0O nTcQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DAJyK7pcmfohpkDV4Iwtlwp0UcSOaaFdTD9Z6Pkh/lI=; b=unjv2+b1xLDzEfWblWr8vZJpTuPLZxQCLdLuj3cQtw6yhd/Ae8gg0veefDtrCY2yU/ XXAgDknXMroT65bIg0jmaiRm4W1LpLyQtdZW299XGSSD7Ypop+z7cuI7QkedVK9E0piB i3r60VSnD4YwrYoKTunwntISw3X2ea2tGyivNybweJ8y2OyJ+Y7mqwB3JLKggCchuHPh PKXEuCpcSjIKf1bO7wREG9M2A2i+2DC/NcHqdTwXzMoQTxM8HOJQGMqAQlcwVTEF4t19 3uzirXm+bNu0pa39UJMW6U9yecFCFwLO/vuNWPm44BWHfsByjxqyFGTCysGDF8yyhtBV BHQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VgCammbl; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k89si18411675otk.173.2019.12.29.12.50.29; Sun, 29 Dec 2019 12:50:40 -0800 (PST) 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=@kernel.org header.s=default header.b=VgCammbl; 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 S2387550AbfL2R6c (ORCPT + 99 others); Sun, 29 Dec 2019 12:58:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:49584 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387537AbfL2R63 (ORCPT ); Sun, 29 Dec 2019 12:58:29 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C337A206DB; Sun, 29 Dec 2019 17:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577642309; bh=ct6RR3EXqXFObaq0/biByEaWsnHO72OApa+dEmxh4as=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VgCammbl1gVjsFAuYn6nH3QS+BUkiGRfpvvXj48qqQcQ/pJjc5gPScv3jD/MAFfig koYTR5YEQTgohA4VJS7wuCgpnQdHGTQ3+Mbc7PHoKZRjwZ7FvKIa+GSqZ3dUtgxU2L JHB27kTwPD2yrdPXJ3dQCIeqyrVRaJEfFfWCehrU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yangbo Lu , Ulf Hansson Subject: [PATCH 5.4 430/434] mmc: sdhci-of-esdhc: fix P2020 errata handling Date: Sun, 29 Dec 2019 18:28:03 +0100 Message-Id: <20191229172731.903253580@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229172702.393141737@linuxfoundation.org> References: <20191229172702.393141737@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangbo Lu commit fe0acab448f68c3146235afe03fb932e242ec94c upstream. Two previous patches introduced below quirks for P2020 platforms. - SDHCI_QUIRK_RESET_AFTER_REQUEST - SDHCI_QUIRK_BROKEN_TIMEOUT_VAL The patches made a mistake to add them in quirks2 of sdhci_host structure, while they were defined for quirks. host->quirks2 |= SDHCI_QUIRK_RESET_AFTER_REQUEST; host->quirks2 |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; This patch is to fix them. host->quirks |= SDHCI_QUIRK_RESET_AFTER_REQUEST; host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; Fixes: 05cb6b2a66fa ("mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support") Fixes: a46e42712596 ("mmc: sdhci-of-esdhc: add erratum eSDHC5 support") Signed-off-by: Yangbo Lu Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20191216031842.40068-1-yangbo.lu@nxp.com Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci-of-esdhc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/mmc/host/sdhci-of-esdhc.c +++ b/drivers/mmc/host/sdhci-of-esdhc.c @@ -1123,8 +1123,8 @@ static int sdhci_esdhc_probe(struct plat host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ; if (of_find_compatible_node(NULL, NULL, "fsl,p2020-esdhc")) { - host->quirks2 |= SDHCI_QUIRK_RESET_AFTER_REQUEST; - host->quirks2 |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; + host->quirks |= SDHCI_QUIRK_RESET_AFTER_REQUEST; + host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; } if (of_device_is_compatible(np, "fsl,p5040-esdhc") ||