Re: [PATCH] mmc: block: release host in case of error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
  drivers/mmc/card/block.c |   37 +++++++++++++++++++++++++++++--------
  1 files changed, 29 insertions(+), 8 deletions(-)

Tested-by: Sujit Reddy Thumma <sthumma@xxxxxxxxxxxxxx>


Thanks
Sujit

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux