Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4627621ybf; Wed, 4 Mar 2020 07:36:11 -0800 (PST) X-Google-Smtp-Source: ADFU+vs6iLLUjQT/h7FIR8wxwYANfp4NvUhdHLNVlu5eF+TewYTX2fwz+fQs1F8exPif1RzCSlj1 X-Received: by 2002:a9d:7e96:: with SMTP id m22mr2877838otp.83.1583336170851; Wed, 04 Mar 2020 07:36:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583336170; cv=none; d=google.com; s=arc-20160816; b=xfMCTK0dbIaGVBHWfD2QcXgryK5VaTV9FYI2z4fVJKixnOF2iJ4NJ47sLvAAGgFc9e MAysIitAveFBYgiq+AaAqVxYRReobn3aaKBIgE9WZIFRNOUERdRLkR93HPOfv0L3nU/c Theb3tgHU3KCsLBMtnOGtvjlKJxqIpqNkPbFGHR/D82DpFKtvmOChMSdFBdIpv49nwJB ZfgZUdbpT332z25QER4u0rfoUSQUKhMPfVWmxQGdwnFHWivQjl0nXCShvbVF22NpIHDK oPM8AJep6vUe/zGvthvC6osRTnKrB/5TMSVYglSdrJ2bhhalw7pvC6tggMQFKPfT2i4c 1l2g== 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 :in-reply-to:references:mime-version:dkim-signature; bh=Giq5UF1F/w38AbHK6DfEKwRi63lSe756DNZSfzRh6gc=; b=Ap0Ghxlg/yAvu/DyKYIqjBB45yyI9fENW+tUf0nPv426VUW6WLTTChjJiRBWaP52mD zjkApY98AOYHFBsSgx0MT8TtsQqNxHuESsgR7dWi34E3RWVFA/QeK9g59m29QffrERCd amloM9Loxc2RMrB9Wij1UtEwD1JceMQ76VOzAcmVzIz1KPpIByDlC4E2hcHpl+H+5HnL wQuMAlycvxATxdai/hq8fSXF7PZZDxy8c1vLChVL+t6SuporqMuVWoA0zlY7B/py260a D+Wk78i7+uuuV/TVEggNCrCfxbm6G+x3EjV+CNvdTE0nu7YcHQZLGNkLM3VfSVa+pR9s f9cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B9MoWggo; 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 a25si1201375otp.314.2020.03.04.07.35.58; Wed, 04 Mar 2020 07:36:10 -0800 (PST) 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=B9MoWggo; 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 S2388215AbgCDPfV (ORCPT + 99 others); Wed, 4 Mar 2020 10:35:21 -0500 Received: from mail-vs1-f67.google.com ([209.85.217.67]:34667 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388174AbgCDPfQ (ORCPT ); Wed, 4 Mar 2020 10:35:16 -0500 Received: by mail-vs1-f67.google.com with SMTP id y204so1422107vsy.1 for ; Wed, 04 Mar 2020 07:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Giq5UF1F/w38AbHK6DfEKwRi63lSe756DNZSfzRh6gc=; b=B9MoWggoUREkbaq0Aww3Hd0IV/FZbz//+eDkWHFvrVyN1hNCb59mGB+n69EaUIyiFT XInxog98hJoXhkPlCWuBh80LPvporHdZ6sAHxGAWoa9OCU1ncIOQEEf46h+CX9gBq6iT MnX70EKAh4VGozk/sEH32c9LygkTgAcHneDxChqd6MnCqm0Jjp07yHyeKJ6vAmqnOjea egqa0l8s0B0qd5x4bIQAx0KP2wbL2gfZlzmYfNWIXp1NX+IWbYeueZm6RMUb17HEiYQb 251NTxJzu0Lob8ZrUSK9cdqyUFrhc/wkmyOe7GhjN81WEPgIM6r22WSFgcOh3YKXE9C/ 0FHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Giq5UF1F/w38AbHK6DfEKwRi63lSe756DNZSfzRh6gc=; b=EdXY+OAOhJNqcyiv5/mZTXNtFM1YHsFMNOE3x1ZNM3RNpXoWYsPuPKWGMG6Sdt1ULR N2RqJhPjKQXdmJwlLHslmmeG0sUwOvS8cDm+E/WO5BFuX5okHHeDG/xX20XgBBfGnq9T Vm8MGwk3/bR3Pqem55/rtEjlPzFXDhnfwq9lpnuwoFL4WdWODPSf1UVTu/zbeSQf6N2c oiGRTF2jbNQ0cxy30foECjjw8Z6vCXAH5+6Yx+4J6QeswnmTxtyRPlh9qPBeK39Ne4sy nH83o10JfNfIk/W0j3cp+HzD8Cbr0lmD0rmr8ejpXkPmiqyZ4RNR/oHKHP0Msbk6ljZL XYDw== X-Gm-Message-State: ANhLgQ3hhbyolS/F+GMgKqsJYZJSlWAYl0P7TScg4HUxBs0mfJ0pVyHI BjuH9FgztXanBcZvYuRAqv2x0MvVoiZ3VYuVFf2nVA== X-Received: by 2002:a05:6102:4af:: with SMTP id r15mr1988389vsa.35.1583336115345; Wed, 04 Mar 2020 07:35:15 -0800 (PST) MIME-Version: 1.0 References: <96f16647f6a6e8cb058c44e46c61b122df027059.1582535202.git.baolin.wang7@gmail.com> In-Reply-To: <96f16647f6a6e8cb058c44e46c61b122df027059.1582535202.git.baolin.wang7@gmail.com> From: Ulf Hansson Date: Wed, 4 Mar 2020 16:34:39 +0100 Message-ID: Subject: Re: [PATCH] mmc: host: sdhci-sprd: Set the missing MMC_CAP_WAIT_WHILE_BUSY flag To: Baolin Wang Cc: Adrian Hunter , Orson Zhai , Chunyan Zhang , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List 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 Mon, 24 Feb 2020 at 10:09, Baolin Wang wrote: > > The Spreadtrum host controller supports HW busy detection for I/O > operations, which means when the host gets a transfer complete event, I assume HW busy detection also works for R1B commands, so I am adding that information to changelog to clarify this. Please have a look at the next branch to see that it looks good to you. > that always indicates the busy signal is released. Thus we can set > the MMC_CAP_WAIT_WHILE_BUSY flag to remove some redundant software > busy polling. > > Signed-off-by: Baolin Wang So, applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/sdhci-sprd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c > index d346223..2ab42c5 100644 > --- a/drivers/mmc/host/sdhci-sprd.c > +++ b/drivers/mmc/host/sdhci-sprd.c > @@ -556,7 +556,7 @@ static int sdhci_sprd_probe(struct platform_device *pdev) > sdhci_sprd_voltage_switch; > > host->mmc->caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED | > - MMC_CAP_ERASE | MMC_CAP_CMD23; > + MMC_CAP_ERASE | MMC_CAP_CMD23 | MMC_CAP_WAIT_WHILE_BUSY; > ret = mmc_of_parse(host->mmc); > if (ret) > goto pltfm_free; > -- > 1.9.1 >