Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1011328ybe; Wed, 4 Sep 2019 11:07:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy38ZX3P++HBCKd6nRrDD9br0KbHeyVNxcIimUTfVEQux/80p3JVv95pDFJ/MkTHt6VXoBX X-Received: by 2002:a17:90a:1202:: with SMTP id f2mr6124311pja.39.1567620423203; Wed, 04 Sep 2019 11:07:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567620423; cv=none; d=google.com; s=arc-20160816; b=KwkV2Jg81+PBeFd4/gJAcogQgyFKeqNc0obqljnIxjYw49OUQTxaBINg0QmxXFIwaW YQ9WNmcvSvGHAT7Rgk5i9+Bv2tWRFG3bI9uop5I7H17/NN58OuG4JIkbMX9wQOFYoCoS +/FXxMt1bqtQx6yUqKfB2oC3jXtuE73vuos66KPcUtZD4QwVPSlN3Q0mXPwGyF9hBw6A YN1Si3GHEMexlAvuj6mzQIBDC7Eo5F2L/wqofi30Ue/IYTmJ+71h+hXeO8V0xvFRdiTs 383diqb2bNzN42jlzhCkvgz7YBagAOexkL2EyU+7/X3XXgVOhnFJUqmNmeb3BXL4W4TJ z/qw== 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=wnVPVdFEXQtvX2mZiCaiuFdG2h6GNfAzeADhNzifCKs=; b=r8xm9PwRDw34KAAe8yxolnUXrPb7HHQjSTISKUoHsJUA/PhukqUW+8ssKDEqvKcyO8 +20cpYrFd55KTWyPWmghv4zm+G8WM91/i41uBQjXlCHHlZ2+NhVRxJul9jqNnPcovCUO owvme8RudHkUjjWNQnl1poBYaTwIrSP4A4vXKBWGuAirdpOB1LWn7644hjeFXrlAea5R rKDTn+95JOT2qyJ3v8Sz29OgrvD1VxaHKJy/Glvm30AOjhoZomcbf0yhIdCgcUOLwxY1 Ux/X+eT2t96uT0pbMHFKPKM3MuABCsarhMvf69du+kZWdQpxXWSpGorAbXtK9wbJxh+5 9lnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FEvlNlWO; 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 d7si2783069pjw.103.2019.09.04.11.06.44; Wed, 04 Sep 2019 11:07:03 -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=FEvlNlWO; 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 S2389037AbfIDSD6 (ORCPT + 99 others); Wed, 4 Sep 2019 14:03:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:44746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389032AbfIDSD4 (ORCPT ); Wed, 4 Sep 2019 14:03:56 -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 8CC982339E; Wed, 4 Sep 2019 18:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567620235; bh=0COEYLHtS43U96dxMDgTc85nTybfmkoIw9mJaGzf/TU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FEvlNlWOFB3yFmF9CYRyWLZ6By/VLVEdroEGSm6sILAmxliQz1lU6hr2H45LhhOCZ ghor8OGa5ppySFcc62hyL0r17FEcXht8VQCXR7k1Z3LvgL6Yp+Q7BFY62NKHoGED5L /G3SMpFJPy/jgM8jCv2OZ6kPDXNSAT4/bggF4Y64= 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 4.14 39/57] mmc: sdhci-of-at91: add quirk for broken HS200 Date: Wed, 4 Sep 2019 19:54:07 +0200 Message-Id: <20190904175305.841607330@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904175301.777414715@linuxfoundation.org> References: <20190904175301.777414715@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 @@ -364,6 +364,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;