Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp192894imm; Mon, 21 May 2018 04:38:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrxMOmhJBgdvV+wU7Np/r/bLkzb1MUvVYBRHEZCy7qcDuGXQHTbkv8oO5ZQ8BDZMOoLs+xi X-Received: by 2002:a17:902:ac96:: with SMTP id h22-v6mr20187071plr.338.1526902689274; Mon, 21 May 2018 04:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526902689; cv=none; d=google.com; s=arc-20160816; b=SVTd/f2xFiNDEy0i1jReBddUDzLMi3hbcKl5saCOkpHnftXyP9EaDPveRMuQII3um2 z7hSdFHErrXyz0HzTYfp1Cx5vaiHt7bst0tHP45miqzuGfo9qC4v/ATPb/yUv/WANJ/9 ZnfefTVPy11NwjcMtgfzKgPHDWEWzUcty679ix/I35rD2gqNygaF+FKjs9RnHU0/Qwzu DKzr2JXcpOcm+id5+WaibulfYSgk7ulcdoI3g29CKgN0jDB0isxWTDuO/s6n4HN7ZpaP rR9cygYkqDzG6C2nOx4vRD1qIEBCl8rBo9/u483813aBN4ukF9u7yQ7vwzJbqQjwQP3w 9Pag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=/h/qZM6kKFPBs+nYKfoZaEguUlh2KOhGP5i4JZPFT1k=; b=i0w4xUU9JPIj55+Tpg9TxU5vghurBzCxGmreQ3OfKGd0z1sZwHe0L76Ix92bLbLxmT vwQpku6PG6SdMUi+f/1IFZs0IMmZC1foErrpIsPV/p6n1PkqHGCQWahTLwuhf1+S6xpe h05GK/F1RAjQKEmOdfoDsRFxFgfqfLx+DYbHH5AAZZmJ2lvLGUD2XKlkkanNaD5z9Usv TfBP7U19LFN/YFdYJ6aviZh4IQJc4WGl0tgSbWhRXhO/BPRvz5VXyT03HPGWU3Ov0CSj dQ23ZbWrrXUjJ0rkhxfEF0RW0faAWd08UVlRoWuYzewoJmR0pxkCQrWMN+sq1Le4CteT iT6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XRvBbVFq; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si13686184plr.454.2018.05.21.04.37.54; Mon, 21 May 2018 04:38:09 -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=@linaro.org header.s=google header.b=XRvBbVFq; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153AbeEULhT (ORCPT + 99 others); Mon, 21 May 2018 07:37:19 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:39170 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752717AbeEULhH (ORCPT ); Mon, 21 May 2018 07:37:07 -0400 Received: by mail-it0-f67.google.com with SMTP id c3-v6so20703061itj.4 for ; Mon, 21 May 2018 04:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/h/qZM6kKFPBs+nYKfoZaEguUlh2KOhGP5i4JZPFT1k=; b=XRvBbVFqRoczUHBqedwwL0hSURhEgb/Gp7xFvVr3VV7YHZam0mQkURsh/i0QmiHP4B vu3uSDD8+2XXCuZohItlpyT/+aeVL7aUElQKVyaL1/vTR0gKInTYR6xPTD8iRN2QiAP1 iTNmyYzvExiDGuY9PN2cSoqzLTZ/Iv7AdB9Zo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/h/qZM6kKFPBs+nYKfoZaEguUlh2KOhGP5i4JZPFT1k=; b=eABo9Q48hJqg3QOoqNHNQmXV7x5UEwWybvNPXYUC8utIAZv1oNQNjy/GmicI49QAPu b2yALyjDhZLPmhfCg3vuco5qkW4aw02lIrg2OYZlQvddcyhap2A6LrcHBVg/PClSCkZi ZCGMWK0/J62Macitc67iNUlv1Pd6r2HlMkPUyBp9P8ULFCWcYZUyqglWKaKay5BavpuD HzPh1HwuZu17fxyYMJU6PDLGFZU6tgE/oxVNNWRV7RMq0Y9TDR2a2PZlQRkOTGrGua6C 9VVon/EXfZi/CtXbW8TYGcPJnEDUCSpLgx3pF0q3iyNiOBldDNdq21YOS29s8Gr5mdc/ ws9A== X-Gm-Message-State: ALKqPwfDMneGNVEP4SiStvBWWoRm/BI6SUFy57mYdYmK/XQiSzl5Fv7u HmJNpXG16CRf6JtEQu8b5p9z478lZURiTwVUaE/iEE7w X-Received: by 2002:a24:8ac2:: with SMTP id v185-v6mr8047844itd.86.1526902626550; Mon, 21 May 2018 04:37:06 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:7347:0:0:0:0:0 with HTTP; Mon, 21 May 2018 04:37:06 -0700 (PDT) In-Reply-To: <1526681037-2074-4-git-send-email-scott.branden@broadcom.com> References: <1526681037-2074-1-git-send-email-scott.branden@broadcom.com> <1526681037-2074-4-git-send-email-scott.branden@broadcom.com> From: Ulf Hansson Date: Mon, 21 May 2018 13:37:06 +0200 Message-ID: Subject: Re: [PATCH 3/3] mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus To: Scott Branden Cc: Adrian Hunter , BCM Kernel Feedback , "linux-mmc@vger.kernel.org" , Linux ARM , Linux Kernel Mailing List , Corneliu Doban Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19 May 2018 at 00:03, Scott Branden wrote: > 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 Applied for fixes, by adding a fixes+stable tag, thanks! Fixes: c833e92bbb60 ("mmc: sdhci-iproc: support standard byte register accesses") Cc: stable@vger.kernel.org # v4.10+ Kind regards Uffe > --- > 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 >