Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp245975pxf; Wed, 10 Mar 2021 05:34:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzESknUz69+vpEPshTV5AkBaGzTwwazseFrS8/OlAStpP03n8XpBE3SJW6Uhtl0oup3BR6B X-Received: by 2002:a17:906:644f:: with SMTP id l15mr3723293ejn.229.1615383272107; Wed, 10 Mar 2021 05:34:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383272; cv=none; d=google.com; s=arc-20160816; b=cE8ctwmPg/oruknE2Mfj/JxDbyeKo6Ae1UJ7n4y/b3x5P4pa2/ic2W5Ft0PCcLTkPH dwdjvo+iTG7WM9BS61tAk3movq2/Wvqoh+v7QNMI+jMH69sdtbmrDR9UY/YXnGTFVJKw GVNUBLYeFPwpeu01/rdXoYJ4sidIHWtBotJRk7mwtusxNERQ0X2TWkYJkTuhapK9iIbL TtW84YXEccPtZcXZ1Ph9vCAqjk/FafcKV8SepE9djEnZ+Dcoc/QtdBn0byPyX9B7cghk bdxEaIRUKH2E/mDkOQB/mGt38nWzapxiijua/qIfALnOyiGHaf8jW2/LaWNcCBKcNxza qcCw== 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=NOdlMUqHBdQFo20trzTH6Ygll2lvgeLp76ifGHVeqHg=; b=MnO2DWM8ZrhLBufjF7jUJN57poHQ3kuk7O0DykoC73WZXPHRLQKPww4OjZIg4ciBDk Tcfkj6+ybI4S3pIrdZx/oAMEXAhjKmmE9W65aUai95D+8Nd4LNOlfxyUQsKrMsA43hwh qCXzktY0K+5/5SCm4VVZ0pBtq28Opz/falkeffzMdwdVdrNmQxc/oQ7GBek3mpyDdatD 1Po+aBpENIseCzkYE3DoLsXCUbrgeX3MfvfX8sO8lcVUqMm9dNzeAVPQ/wNS3aSDgdM8 BK3DONNfJBFjwTWgMg0XZpy5RXfjPJcy/HmpuNiFCQfa0cCxwSiyqY+2DbaneMLCR9yA HPUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kWqNdgqP; 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 s1si6506932ejf.199.2021.03.10.05.34.09; Wed, 10 Mar 2021 05:34:32 -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=kWqNdgqP; 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 S234096AbhCJNbY (ORCPT + 99 others); Wed, 10 Mar 2021 08:31:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:49794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233653AbhCJN0B (ORCPT ); Wed, 10 Mar 2021 08:26:01 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8211964FDC; Wed, 10 Mar 2021 13:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382760; bh=6LpK+ICvY22uJ4i0MJP4TXhWnieOTxluJTfajJqGL9k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kWqNdgqPGNIvEPsSWM45lPg1eOugfjUC80RABSubZbwfeEE67wlKFZHD/uskdnATA kBOf8lkcN8P7gYG2atpWD82TloKfj4byCek91gNI2uK4dX9iUvL02wuZkGwTURwHds LJmISkp7A67G8DbFsb9nwUKJai/lmpNRHO60WVzU= 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 4.19 39/39] mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN Date: Wed, 10 Mar 2021 14:24:47 +0100 Message-Id: <20210310132320.925727321@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132319.708237392@linuxfoundation.org> References: <20210310132319.708237392@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 1b7cd144fb01..a34b17b284a5 100644 --- a/drivers/mmc/host/sdhci-of-dwcmshc.c +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c @@ -28,6 +28,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