mmc: block: fix boot partition switch error path

In the case of a switch error, do not update partition config as though
the switch succeeded, and ensure blk_end_request is called on the
failed request.

Signed-off-by: Adrian Hunter <[email protected]>
Acked-by: Andrei Warkentin <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
1 file changed