Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1020132ybe; Wed, 4 Sep 2019 11:14:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwn9GPDo4ZCz9fFKqlI8HvdNXdcYktiaygyggi0K6WOg+I6owR0g/N33Q8cdfQvpLBRz3T8 X-Received: by 2002:a65:4808:: with SMTP id h8mr35907104pgs.22.1567620881443; Wed, 04 Sep 2019 11:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567620881; cv=none; d=google.com; s=arc-20160816; b=buuI6ivcWxRwntydZCtGvxFOXsR0aPSB6FYp438rBW4/C7ikzd7UNJG3etGzkH2Hx5 gtmpT5zK7hqCxXm8CqkuAS03sQaCnnjhQFqocQp3PUPOPQ00WG13h3jFQWahqpsaeBOA 9qqqEP3pJ5/cXtK1Esve9L7BddZQeATKLxlsDRrKSHL1qqXiTQJ6XtyNUtBv/YQYTv64 i0Ym459JvVROEDXykh/7nzCcTC3cAcf47mzHEM8pA55ljIcGBgsCH49CmRgptU64w4AT tEzFcRIcc98CjhCXJ2w2eHp1LgUDC+YL5cIvEUKz3R4lFeIrp2bqBldEaIZmxUE7d+XU 71XA== 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=Tx0OnTksoTnxDZAmMAXcNHsBWvT+UER9Ludo90TWHHM=; b=VYgQOykVD/Qj3qh5mB+0EVpZVask0nBqL4h6dKFPdVDa5OY8kTfR5TG9CyeaX3FY/P uzeJs6BRo3txK6VYZXPZdjLKWcGCe9nYNil2IcUIWO7M33PWB8kWpBge92GpzxsID098 WmKab2b/a2JaaKSyYR25Jf/5q6PT2pHHxUkuUft3Xb8ZC2qB1sAa7RBqajmiujEi4FsM TsQj6OvMA81iHKBAXIcEhX2RRY3BG7xDGORjZkNSU/02tTN1do840F3V1uXRhqLnCTr5 ur/JHb8iEu5iih5/wlOAHMZzQjxDhI2QPcDic+Zx9dWUh6iqD4ITeI9/EGgenEFsULYD l1VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f561hXAN; 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 bc9si1097973plb.368.2019.09.04.11.14.26; Wed, 04 Sep 2019 11:14:41 -0700 (PDT) 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=f561hXAN; 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 S2390615AbfIDSNH (ORCPT + 99 others); Wed, 4 Sep 2019 14:13:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:57716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390179AbfIDSNF (ORCPT ); Wed, 4 Sep 2019 14:13:05 -0400 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 6143C206BA; Wed, 4 Sep 2019 18:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567620784; bh=r0SrvcMLry7DKvNjs2Ldsrbj9Ap89oj8kRRUbcQ4JpA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f561hXANtH2y2cip/X8RMBk3UU/EGv58L0vjQ6UH+sMf1dWeXNb1TtIhFpFMRQTtJ rGwTRucInIJaaOpvs4LhIKVot4hv+r8a0LpPkl1Ji9aSp2kNFg8qMLFXxv3pEa/mQZ 1JMaHtgeWyYyCDPGMW/e7z3FW1tDBugOPPakdffQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eugen Hristev , Ludovic Desroches , Adrian Hunter , Ulf Hansson Subject: [PATCH 5.2 093/143] mmc: sdhci-of-at91: add quirk for broken HS200 Date: Wed, 4 Sep 2019 19:53:56 +0200 Message-Id: <20190904175317.760831237@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904175314.206239922@linuxfoundation.org> References: <20190904175314.206239922@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: Eugen Hristev commit 7871aa60ae0086fe4626abdf5ed13eeddf306c61 upstream. HS200 is not implemented in the driver, but the controller claims it through caps. Remove it via a quirk, to make sure the mmc core do not try to enable HS200, as it causes the eMMC initialization to fail. Signed-off-by: Eugen Hristev Acked-by: Ludovic Desroches Acked-by: Adrian Hunter Fixes: bb5f8ea4d514 ("mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC") Cc: stable@vger.kernel.org # v4.4+ Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci-of-at91.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/mmc/host/sdhci-of-at91.c +++ b/drivers/mmc/host/sdhci-of-at91.c @@ -357,6 +357,9 @@ static int sdhci_at91_probe(struct platf pm_runtime_set_autosuspend_delay(&pdev->dev, 50); pm_runtime_use_autosuspend(&pdev->dev); + /* HS200 is broken at this moment */ + host->quirks2 = SDHCI_QUIRK2_BROKEN_HS200; + ret = sdhci_add_host(host); if (ret) goto pm_runtime_disable;