Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp240825pxf; Wed, 10 Mar 2021 05:27:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcA7AoPtC0ZxJDRlpYau3g31uzcvLeuHNo+zOFZRLJxHRsEb9PT2dR+7WYJ+ykGQrnFhyD X-Received: by 2002:a17:906:1b54:: with SMTP id p20mr3604500ejg.307.1615382827728; Wed, 10 Mar 2021 05:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382827; cv=none; d=google.com; s=arc-20160816; b=z+yhSfDdoZsr2mXpRA1VcsL/0FiJHtoG61dh4L3JzFH/rqe1Z2GUePBtE3Y+vThtzr No+lg9UaDOE+n1BULknR6Pcs1VuiEpcuLXtWuuhu3s4Gq8qCfKkFqN1gGQ9XiweAT8L/ 3+6qvUR8r99oQc9wKTyrQqItfO3Smxyqc9YNDHKqPi8NNatyiy2wYaZrvdG9B1L1eY0e YBwbFrjv/hXn6Et7sX403uGtma9csE0IgTmefn6J8e9xWjuhjIM3mpQmqcyiBLzirKV3 OxumylzhMZASsCeBgFQofZd6ozzemt9Hgyz0DI0wsKdTdgAkX3VacU7MDaNu76VChIhg 0F8g== 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=C577AR8YpaVBlGQ76VWAXJyk5rq3eWJiPBksoiOHrOE=; b=MRfYWSNsiOENWYVUGSVnVf7MiHiGqIdvz/sXYCQsrPD25yMF5WXKYQq9K1GiQp4Sxa GaxYceD8Ybt8UtdSDf03OTyiqul6LqKY4D27g4UmQva1g1qFdpFNgYg5ZWX8noTcyOwG +H4qvC9BP7F2yp3K2loqxqde84zrna4ELRRVq+DN2pgjGmo3hufN9ZmDKVtuqNo0marn 4JROk6+XHBLEJL/FdpysjHfwOxYXC0eMgmbSfWuhqG4FzSgIfMx7Pct/ILiW2F7zl24k RYESiaBMQI1WpGzhexg4gZYlSQCk+tCnN6WQTg2reGpQ87NkOVJT1lJxy3TTc6zG+TJk 3bMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EmUDQnG1; 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 m15si13271429edj.170.2021.03.10.05.26.43; Wed, 10 Mar 2021 05:27:07 -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=EmUDQnG1; 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 S233424AbhCJNZs (ORCPT + 99 others); Wed, 10 Mar 2021 08:25:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:46068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbhCJNYl (ORCPT ); Wed, 10 Mar 2021 08:24:41 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6B7DE64FFB; Wed, 10 Mar 2021 13:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382679; bh=03VvVo2hJ9Th1W4Ti2EDtJL0wv4GRIGT7NvTsAFW3W0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EmUDQnG1st0kQL9rXI3QxDQOMqxoCdx+Pws83bzLop9YPKK0/zY82f4xc3XuHfaCk xtOh6ngsoeHbgwuH2sGBgtpH6DDSlCcnMF40ZD/pl4fzOBFEOwXqUHWVEBEBtjQ9xR Wk44Sk1VpsstqxhKxUuDLq6gHoPHNdO6fiX6oyN8= 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.11 25/36] mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN Date: Wed, 10 Mar 2021 14:23:38 +0100 Message-Id: <20210310132321.291582621@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.510840709@linuxfoundation.org> References: <20210310132320.510840709@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 d90020ed3622..59d8d96ce206 100644 --- a/drivers/mmc/host/sdhci-of-dwcmshc.c +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c @@ -112,6 +112,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