All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sujit Reddy Thumma <sthumma@codeaurora.org>
To: Per Forlin <per.forlin@stericsson.com>
Cc: linux-mmc@vger.kernel.org, adrian.hunter@intel.com,
	Chris Ball <cjb@laptop.org>
Subject: Re: [PATCH] mmc: block: release host in case of error
Date: Thu, 17 Nov 2011 09:33:27 +0530	[thread overview]
Message-ID: <4EC4878F.80002@codeaurora.org> (raw)
In-Reply-To: <1321269166-22128-1-git-send-email-per.forlin@stericsson.com>

On 11/14/2011 4:42 PM, Per Forlin wrote:
> Host is claimed as long as there are requests in the block queue
> and all request are completed successfully. If an error occur release
> the host in case someone else needs to claim it, for instance if the card
> is removed during a transfer.
>
> Signed-off-by: Per Forlin<per.forlin@stericsson.com>
> ---
>   drivers/mmc/card/block.c |   37 +++++++++++++++++++++++++++++--------
>   1 files changed, 29 insertions(+), 8 deletions(-)

Tested-by: Sujit Reddy Thumma <sthumma@codeaurora.org>


Thanks
Sujit


  reply	other threads:[~2011-11-17  4:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 11:12 [PATCH] mmc: block: release host in case of error Per Forlin
2011-11-17  4:03 ` Sujit Reddy Thumma [this message]
2011-11-17  7:39 ` Linus Walleij
2011-11-17  9:18 ` Adrian Hunter
2011-11-18  9:56   ` Per Förlin
2011-11-20 20:50     ` Per Forlin
2011-11-24 18:58       ` Per Forlin
2011-11-25 12:03         ` Adrian Hunter
2011-11-25 13:00           ` Per Forlin

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=4EC4878F.80002@codeaurora.org \
    --to=sthumma@codeaurora.org \
    --cc=adrian.hunter@intel.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=per.forlin@stericsson.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.