Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5021435imm; Fri, 18 May 2018 15:05:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo6/HHKBNV7JkcPRE50qE5udTQc9n3MHseUEvm+flwUT1/jPh3PPgxZvuN0nXIlagMxdKEc X-Received: by 2002:a63:924c:: with SMTP id s12-v6mr8689886pgn.368.1526681147892; Fri, 18 May 2018 15:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526681147; cv=none; d=google.com; s=arc-20160816; b=pPP2sj9ASm9onrDeBaXME1nk9oesU0jyiNcEzjLD4Gx2Pa/LfGUBOJyF917scltbDV 0UVO2qDDot+XOoLSv6BJUkKHvBwGs5Lejng+m/D22ELdtV/7h1MBnhfh/EsZN0DnUR5N ln+am1o4Bi1SjuGvd+A5PNQQksZX4ugnGOEfdDgKhh0/Nej7Kc96WppJxB3MuE660it5 LIW+vLWkH+QnGvvbxF78RbnzYLFpXFn7B1WsmS66ndR0/sTOHwEgBtencYgz46kAzn86 hf8IKB4YTdJ416aul+bgH/Pv8MG4+saSYBCjgn8ZcdRFVp5dqtdzs4iEMfryoKOF2zPV ALfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=mUI+MKIONwWxbhO1ncGA/OdA+ZbFHjTa+ykVc5bLwNo=; b=efc+QfuQRwQ1aP4Dj/0zjbDGTCEztmkus4+KLBhrBOYcTC+CD1tR0QqwhRtEQaPw2f k9uzM5l3xUdTeV43aPMh9hM3pM9mEMgKBOi5ILCWKdKLhwgqhVvgglOHulglazP1YBDg Eo93C2xl1p5ZJhwYaDgT5tjYHLh2iVF7kC3r36jKWaFprFRu5xzYSFroJhZu/5MMN6Q2 Wf65V5JVmNDgSFjZ59wvCRyQVNYLQLf959C1nL0GmpqVOgCZvMUfkMVIFknLEtD6ws+U ixlFTvSMCu4TiTaInejRDMXM9HgizOJtyxc938nD59bJ96hebpetWeQO1D01D8xX4Y4q vp3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=d2GtW0kM; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r59-v6si8190612plb.187.2018.05.18.15.05.33; Fri, 18 May 2018 15:05:47 -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=@broadcom.com header.s=google header.b=d2GtW0kM; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752515AbeERWEt (ORCPT + 99 others); Fri, 18 May 2018 18:04:49 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:41094 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752370AbeERWEP (ORCPT ); Fri, 18 May 2018 18:04:15 -0400 Received: by mail-qk0-f195.google.com with SMTP id d125-v6so7650758qkb.8 for ; Fri, 18 May 2018 15:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mUI+MKIONwWxbhO1ncGA/OdA+ZbFHjTa+ykVc5bLwNo=; b=d2GtW0kMPZfKX5vj37m8Q/yT6cl/lyy4ofDLeMdaoseDwZ9WVIJso43imT6dk/LjDc OWmoM2vSvdGj6EKAYbF5lbKSC3KRG7b43KzyIY36TlWC2QZ7XQ3NQEGcuBN3JSxY+Gqr TcmYHgdVnOihc2EE+vCH8F84hDAOlchd7V2Mw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mUI+MKIONwWxbhO1ncGA/OdA+ZbFHjTa+ykVc5bLwNo=; b=ZemipC/IiVKG2MsX1TsQXjtVxDm44Mm+thGdF7GAMKC9ZJjm/az3OxfhQmGTMW9VlU rUQKZyHHq3rnj1ARTqZS89IKwz5SWRUcgeicTHMDm+DYYLlNO5KskmYW6rRrNpqyq9Y3 kUmsGqJIYM5UrCkSiUymyfz+2bCrEY8aenJcpd4uf7OmQ3HZeJxgo4buxWICAwT4ocis fyiwmes28Qptu9xnjMjOaQ8DZeBGs6f25W1mkRY/yPRx2IuSreOGPd4IoASkftjEKqhP 165IxNK+5RlAwfDM6hTP3c6d1Jj3LR6gYVJq3FtqJl7xnxnv4VGPLqMRSp0/Ni3zWoQl MAfg== X-Gm-Message-State: ALKqPwf38Csa6dHPxurveW1mI78V7lfTsa3Y31P88mfgv9X2s2FnSr0F m6LNz1l/7d7BI+YRsNY5waEP1A== X-Received: by 2002:a37:24c2:: with SMTP id k63-v6mr10458183qkk.28.1526681054977; Fri, 18 May 2018 15:04:14 -0700 (PDT) Received: from lbrmn-lnxub113.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id m4-v6sm1829866qkf.91.2018.05.18.15.04.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 May 2018 15:04:14 -0700 (PDT) From: Scott Branden To: Adrian Hunter , Ulf Hansson Cc: BCM Kernel Feedback , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corneliu Doban , Scott Branden Subject: [PATCH 3/3] mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus Date: Fri, 18 May 2018 15:03:57 -0700 Message-Id: <1526681037-2074-4-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1526681037-2074-1-git-send-email-scott.branden@broadcom.com> References: <1526681037-2074-1-git-send-email-scott.branden@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Corneliu Doban The SDHCI_QUIRK2_HOST_OFF_CARD_ON is needed for the driver to properly reset the host controller (reset all) on initialization after exiting deep sleep. Signed-off-by: Corneliu Doban Signed-off-by: Scott Branden Reviewed-by: Ray Jui Reviewed-by: Srinath Mannam --- drivers/mmc/host/sdhci-iproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 1f0ab08..d0e83db 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -186,7 +186,7 @@ static const struct sdhci_ops sdhci_iproc_32only_ops = { static const struct sdhci_pltfm_data sdhci_iproc_cygnus_pltfm_data = { .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, - .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, + .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN | SDHCI_QUIRK2_HOST_OFF_CARD_ON, .ops = &sdhci_iproc_32only_ops, }; -- 2.5.0