commit | 4e1f780032c56894e8d7b6685b029b718588f483 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 24 11:17:52 2017 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 13 13:20:37 2017 +0100 |
tree | ff61a0ef3011b2b9cadaf1fd21c0ae99b890fc70 | |
parent | e64aae82eac5397d9976142b9224d4a41424ee54 [diff] |
mmc: block: break out mmc_blk_rw_cmd_abort() As a first step toward breaking apart the very complex function mmc_blk_issue_rw_rq() we break out the command abort code. This code assumes "ret" is != 0 and then repeatedly hammers blk_end_request() until the request to the block layer to end the request succeeds. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>