Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13477602ybl; Sun, 29 Dec 2019 12:51:36 -0800 (PST) X-Google-Smtp-Source: APXvYqyvQu/uR4H6Rbfm95co/lvT2lxbvRoOpWb+nJSxoVCKud47p+EXsLdCCDAGou3lwYdZlO3z X-Received: by 2002:a05:6830:184:: with SMTP id q4mr53199039ota.232.1577652696164; Sun, 29 Dec 2019 12:51:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577652696; cv=none; d=google.com; s=arc-20160816; b=of483o31o6vmMoP+5jYJYEqE8NVkSUDIDQCjE9rb/I7KTBFoZPU/sMw9viVBqtLi69 7B/+cULocbAz6oKRBr9FBMdTXzWL10uiR2HVO4RPWSzB+YEB2E9FxRy1ZE7xWkvbad1e byuIZQ1dauez6/6yTfPDOvzL/7T6TgmoLNoagyBb+eQmnwRgS4lMwun4VrkJIZ+y3n3B BDrDF97iZCSQvKoi/q7j1q97SGm2RZ6Dd3wXZjZkwi2ssni3BnQSG3v1rbmM6CvEooHU CUTMoeDwm+2YQgFeTtOwclGNzWmUMB8drPsKUFw6Y3u+5fNbnhX+Fxd1o9CqY//UljJI k1Wg== 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=/PN5Tnr5YdDht9Yb6VeyHGU2+FIyFoagarJt6q9QskE=; b=iamLHoywGOIxBt/XxXTUZUJNyRzoh9oPAxiX6bt7CSDUp/mt+iOikqfz1TdsGQ9QG8 ckOCV+Q6y+LAjoui5wZFExspbA2Y8+y6+CFCyEWc6ndkNaZ9vQrWN3/fYnIpd+VqLXVk pVgqD1ATmzq6jcLWe2O/amXbgcEezfhQtZOsf56PF6WGi3QZGGSjZDlM27QL5/hkMvRR xRjwh0or6pfHOm7u+kCe1tW6Afa8AtIgP1k9fO6PJsADM0jnghJnWYrN1eNplFbZatqX govDUpSfvs3PHJNdFZ8mnGcm4LUZTpScaGPWlOYmlbAKYDmBcRHOVWNCfxUJB+wyVdrV Ae2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uIS6BHdF; 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 n8si20025986otr.102.2019.12.29.12.51.25; Sun, 29 Dec 2019 12:51:36 -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=uIS6BHdF; 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 S1732873AbfL2SOI (ORCPT + 99 others); Sun, 29 Dec 2019 13:14:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:49776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728421AbfL2R12 (ORCPT ); Sun, 29 Dec 2019 12:27:28 -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 5E7EA20722; Sun, 29 Dec 2019 17:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577640447; bh=n1sVk3/rhpOZQoCZgCQOlkH9CqjdYrBoMl8MPtfRl5w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uIS6BHdFymAyxyKiENp8ERxMqfhNmrJrGB3qggyYp33BDMHvK0rcEFJ+r3oTEaNeL BApPnl0INn4tGbvziBzvdC7aUgqSqkiehjZqvjqSl8dCwJrH9Jj9W2egst9LzrfIuE opkFdxT/silkG3q3c2Gp9jdOji7Qhbw2EQOG5dbc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yangbo Lu , Ulf Hansson Subject: [PATCH 4.14 160/161] mmc: sdhci-of-esdhc: fix P2020 errata handling Date: Sun, 29 Dec 2019 18:20:08 +0100 Message-Id: <20191229162450.360476445@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229162355.500086350@linuxfoundation.org> References: <20191229162355.500086350@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 @@ -886,8 +886,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") ||