From: Chris Ball <cjb@laptop.org>
To: Dmitry Shmidt <dimitrysh@android.com>
Cc: linux-mmc@vger.kernel.org
Subject: Re: [PATCH] mmc: core: Allow sdio operations in other thread during sdio_add_func()
Date: Thu, 03 Mar 2011 17:42:16 -0500 [thread overview]
Message-ID: <m3tyfjomgn.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <loom.20110212T012443-915@post.gmane.org> (Dmitry Shmidt's message of "Sat, 12 Feb 2011 00:25:30 +0000 (UTC)")
Hi Dmitry,
On Fri, Feb 11 2011, Dmitry Shmidt wrote:
> commit 9cb71a1eb86a2acf0762d31af633984cf9e24d32
> Author: Dmitry Shmidt <dimitrysh@google.com>
> Date: Fri Feb 11 16:10:33 2011 -0800
>
> mmc: core: Allow sdio operations in other thread during sdio_add_func()
>
> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
>
> diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
> index dec4290..d4e6e6ef 100644
> --- a/drivers/mmc/core/sdio.c
> +++ b/drivers/mmc/core/sdio.c
> @@ -834,7 +834,6 @@ int mmc_attach_sdio(struct mmc_host *host)
> */
> mmc_release_host(host);
> err = mmc_add_card(host->card);
> - mmc_claim_host(host);
> if (err)
> goto remove_added;
>
> @@ -846,13 +845,12 @@ int mmc_attach_sdio(struct mmc_host *host)
> if (err)
> goto remove_added;
> }
> -
> + mmc_claim_host(host);
> return 0;
>
>
> remove_added:
> /* Remove without lock if the device has been added. */
> - mmc_release_host(host);
> mmc_sdio_remove(host);
> mmc_claim_host(host);
> remove:
>
Thanks, pushed to mmc-next for .39.
- Chris.
--
Chris Ball <cjb@laptop.org>
One Laptop Per Child
prev parent reply other threads:[~2011-03-03 22:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-12 0:25 [PATCH] mmc: core: Allow sdio operations in other thread during sdio_add_func() Dmitry Shmidt
2011-02-12 2:34 ` Dmitry Shmidt
2011-02-15 18:08 ` Dmitry Shmidt
2011-02-15 19:26 ` Andy Ross
2011-02-15 19:32 ` Dmitry Shmidt
2011-03-03 22:42 ` Chris Ball [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=m3tyfjomgn.fsf@pullcord.laptop.org \
--to=cjb@laptop.org \
--cc=dimitrysh@android.com \
--cc=linux-mmc@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox