Re: [PATCH V3] mmc: Kill block requests if card is removed

2011-12-07 Thread Adrian Hunter
On 06/12/11 11:00, Sujit Reddy Thumma wrote: > Hi Adrian/Per, > > Any comments on this patch? What about adding the following to the top of mmc_blk_cmd_recovery() if (mmc_card_removed(card)) return ERR_NOMEDIUM; > > Thanks, > Sujit > > On 12/1/2011 4:00 PM, Sujit Red

Re: [PATCH V3] mmc: Kill block requests if card is removed

2011-12-06 Thread Sujit Reddy Thumma
Hi Adrian/Per, Any comments on this patch? Thanks, Sujit On 12/1/2011 4:00 PM, Sujit Reddy Thumma wrote: Kill block requests when the host realizes that the card is removed from the slot and is sure that subsequent requests are bound to fail. Do this silently so that the block layer doesn't ou

[PATCH V3] mmc: Kill block requests if card is removed

2011-12-01 Thread Sujit Reddy Thumma
Kill block requests when the host realizes that the card is removed from the slot and is sure that subsequent requests are bound to fail. Do this silently so that the block layer doesn't output unnecessary error messages. Signed-off-by: Sujit Reddy Thumma --- Changes in v3: - Dropped dep