All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Hansson <ulf.hansson@linaro.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-mmc <linux-mmc@vger.kernel.org>,
	Russell King <linux@armlinux.org.uk>,
	Yann Gautier <yann.gautier@foss.st.com>,
	Ludovic Barre <ludovic.barre@st.com>
Subject: Re: [PATCH] mmc: mmci: Add small comment about reset thread
Date: Thu, 23 Sep 2021 20:50:04 +0200	[thread overview]
Message-ID: <CAPDyKFrDMeuAWjWSBF5s1-cyO_faRMWdcs=YYmnYNaOK1L3xZw@mail.gmail.com> (raw)
In-Reply-To: <20210921143359.1738149-1-linus.walleij@linaro.org>

On Tue, 21 Sept 2021 at 16:36, Linus Walleij <linus.walleij@linaro.org> wrote:
>
> Put a small comment before assigning IRQ_WAKE_THREAD
> telling us what is going on.
>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: Yann Gautier <yann.gautier@foss.st.com>
> Cc: Ludovic Barre <ludovic.barre@st.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/mmci.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
> index 3765e2f4ad98..c9cacd4d5b22 100644
> --- a/drivers/mmc/host/mmci.c
> +++ b/drivers/mmc/host/mmci.c
> @@ -1394,6 +1394,10 @@ mmci_cmd_irq(struct mmci_host *host, struct mmc_command *cmd,
>         } else if (host->variant->busy_timeout && busy_resp &&
>                    status & MCI_DATATIMEOUT) {
>                 cmd->error = -ETIMEDOUT;
> +               /*
> +                * This will wake up mmci_irq_thread() which will issue
> +                * a hardware reset of the MMCI block.
> +                */
>                 host->irq_action = IRQ_WAKE_THREAD;
>         } else {
>                 cmd->resp[0] = readl(base + MMCIRESPONSE0);
> --
> 2.31.1
>

      reply	other threads:[~2021-09-23 18:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21 14:33 [PATCH] mmc: mmci: Add small comment about reset thread Linus Walleij
2021-09-23 18:50 ` Ulf Hansson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPDyKFrDMeuAWjWSBF5s1-cyO_faRMWdcs=YYmnYNaOK1L3xZw@mail.gmail.com' \
    --to=ulf.hansson@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=ludovic.barre@st.com \
    --cc=yann.gautier@foss.st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.