Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp242664pxf; Wed, 10 Mar 2021 05:29:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+OfCJPVzhADbiiJgJFUkNr7TSqw/XcWFsqScQvj9rtgwPV2vCztwI5tEIL3mNvwKyoYV+ X-Received: by 2002:a17:906:d1d5:: with SMTP id bs21mr3708920ejb.242.1615382991164; Wed, 10 Mar 2021 05:29:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382991; cv=none; d=google.com; s=arc-20160816; b=fLyHBxy0fBzGBW/s4IjTP1bpsHYJXg/kBRrAamq4Jh/Cq1fc8DCG3kC45Xu+KN9wK7 sVxW1BNH1MP612kMLH2NxD0m4T6Gdy3ZTorzbf7jb5AyMfGZA3JLEQSBtWGyJWWO7xvQ fodyud9NaBh4inYgYiBdhk48XORr7YvjDOTymbOcut8KocBBfcsgUIfltsPhbq153pRh Y+aWcc3e/WEr/mRABA4AXeKMDJfXwJTIowWURHRJAhy0iKbZo41vDO/cqy0sXsfMUsJT 9ifxdqZhnmFezgmpRqwGAQWuz1Vrpjuyj8BST0Vebca0l5UWAluLzQyPc/BL1XZuueFq vqSw== 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=bVE4ANaXBViUjx0WSC5TJGRtPVsVi8poAbXhv9FP9rPq5u3byfoh/aNWW8PoTM2Vgy RoIuRfH90bKgNoG339oS4vdKH3KEk9kIlLFJnBbrTf42hvw6Lyq9IKg5qz6WBJtSzo3X EG4IyT58IJwpbqJg8KY62UIkAdcyOVmrHth3+qNx/ocO0J8aQGMvuYsRH3dpr5byqTNR n0f6TDLH553bPQSrO3UAddU0cEJTGNIOPfv0eoF2y7Ww5l+kjCzoQDchMR2yLfG7TEx/ Gv8WBmMBqXXLMsutCNW8jLSI5eC2o6iWYOi/Uh7usAQKC1JgNaB3/yCO9qBHJphjLq3f K/mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ydr6Z+LY; 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 g8si12117682edp.540.2021.03.10.05.29.28; Wed, 10 Mar 2021 05:29:51 -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=ydr6Z+LY; 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 S233173AbhCJN20 (ORCPT + 99 others); Wed, 10 Mar 2021 08:28:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:46746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233273AbhCJNZQ (ORCPT ); Wed, 10 Mar 2021 08:25:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 40BED6504F; 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=1615382715; bh=03VvVo2hJ9Th1W4Ti2EDtJL0wv4GRIGT7NvTsAFW3W0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ydr6Z+LYVT+DAcONyr9QxewvuTBg4daJycR8y1+QlhWJYjhuaWcc0IBi0XTU9yYza kvkM9bVoyNcFJv42wdAKBGr9vJWRzwtvVXTM9gajzOzoYHw2EONWdPA2st2EJ3Emkt Ll3apqjatln5skHMa52+etPVhb2kiBm/FhmoODaU= 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.10 39/49] mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN Date: Wed, 10 Mar 2021 14:23:50 +0100 Message-Id: <20210310132323.184458687@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132321.948258062@linuxfoundation.org> References: <20210310132321.948258062@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