Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp244263pxf; Wed, 10 Mar 2021 05:32:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwwtyiXp/M/Pb7X6kGE3NoDQC2eMfjxgHDYnbc7h/J3j/cXNGdbOMesqnIgdJKw1cGlQUq X-Received: by 2002:a05:6402:17d6:: with SMTP id s22mr3271040edy.232.1615383123937; Wed, 10 Mar 2021 05:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383123; cv=none; d=google.com; s=arc-20160816; b=D+d5W37B/BwATwP5eQyMTD2D06oIx2ZESeGfZy/0mE7Fva0xUmNG2CHT8szQgeA/wx zTxovSMmNt95r6erfez3MSemdSTMMhyyVWC+8vsqqylLYtLypDBd9Gh8YuPphh3x2l4e mx0ZgNgp7vKuSYoX62RWTvsLtocdxA6/h7sNpXWmC89BlQzCXErrbV/PHgivaqg0rKlO eIjRx5NrH86++6bkmSx9AZ8l6tDZ1RyH3wJYhPb+6OLIAHiXjRbMyD6zsPYe8aX2yUNx 4FYCvRDqsZYG0skYk+0nzQgSUY8ATU+wJqwcqYvClSnOWOPHU9dZLBP3aJ9XoV0tadk4 iEUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bWM8yOeNtqOG7XeIftIvH5EffW5xTTOvcUQdF2K6obE=; b=Km1Qg/Qy+GyDPyd7S2ZzccsYwFLKKS5DgCMT7cMCuBPHQRiYh3tfujijFnF+ReA23a G6VtKzDauHWbPQR4/eLCSRT677lrZScZtVK9H2qaT3LBXUodWejdgoUHGx4wFKwBCPTY uVbocsTNSN4Bkkq6uIftt1AIqSooCHC7kVAYmclByom14eCvY2XiEYqYYbByoOYMCNmG uOnghf1Eqcrmd+9MwFY/kdf8iZQqT2y4oQU+T0EUP7ahreElVTL4a5wHiK6AnuaVqy51 MShv8ZaD1LLCRZDF5uNpayCcsql+GgjYvFf80ClL1e6GzKbePO/u5cTgebn5480vy6lE FNLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="MEYF0/uM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si11766453ejb.401.2021.03.10.05.31.40; Wed, 10 Mar 2021 05:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="MEYF0/uM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233511AbhCJN2u (ORCPT + 99 others); Wed, 10 Mar 2021 08:28:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:47564 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbhCJNZQ (ORCPT ); Wed, 10 Mar 2021 08:25:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 018D764FEE; Wed, 10 Mar 2021 13:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382716; bh=f7Kn8v4zOgTkGLKulOTJJ7YHqvLS3unOHh60mRwHv74=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MEYF0/uMgUO1Sc8lXqRQA0iVvhh+PInWhO1B6OuddPTVKvlWHV95pv4vJtZDojFK5 Eoi1+MyW1xCUJ3EzHa/vQ2A9Fxoll6kXmfoDWiG8P4SbiNVIfvtuRfvQ0Kn1Q6MaJD p6Pl3w6xjqhjnJrVVLVA14ndBu0T6nmYxKGHmq9A= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jisheng Zhang , Ulf Hansson , Sasha Levin Subject: [PATCH 5.4 21/24] mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN Date: Wed, 10 Mar 2021 14:24:33 +0100 Message-Id: <20210310132321.198470021@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.550932445@linuxfoundation.org> References: <20210310132320.550932445@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman From: Jisheng Zhang [ Upstream commit 5f7dfda4f2cec580c135fd81d96a05006651c128 ] The SDHCI_PRESET_FOR_* registers are not set(all read as zeros), so set the quirk. Signed-off-by: Jisheng Zhang Link: https://lore.kernel.org/r/20201210165510.76b917e5@xhacker.debian Signed-off-by: Ulf Hansson Signed-off-by: Sasha Levin --- drivers/mmc/host/sdhci-of-dwcmshc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c index a5137845a1c7..6793fb8fe976 100644 --- a/drivers/mmc/host/sdhci-of-dwcmshc.c +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c @@ -58,6 +58,7 @@ static const struct sdhci_ops sdhci_dwcmshc_ops = { static const struct sdhci_pltfm_data sdhci_dwcmshc_pdata = { .ops = &sdhci_dwcmshc_ops, .quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN, + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, }; static int dwcmshc_probe(struct platform_device *pdev) -- 2.30.1