mmc: core: Abort failed transfer before retries
authorPavan Kunapuli <pkunapuli@nvidia.com>
Fri, 4 May 2012 12:53:56 +0000 (17:53 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 11 May 2012 21:02:19 +0000 (14:02 -0700)
commit4b046dd35262ad03b0e764c4158e49cb17ca4352
tree1244bf830e6778e1a47965dfc6f753a888705683
parentb472fc27e733c371b9d35a3946b2142ca1a4a6eb
mmc: core: Abort failed transfer before retries

Retries should be done only after abort command
is issued for the current failed transfer. The block
layer already has an implementation for retrying.
No need for the extra retries.

Bug 961761
Bug 922239

Change-Id: I07f60e85e093b725007727833739013f8fd66d43
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/100563
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
drivers/mmc/card/block.c
drivers/mmc/core/core.c