diff options
| author | Sayali Lokhande <sayalil@codeaurora.org> | 2017-08-09 15:38:28 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-13 20:58:47 -0700 |
| commit | f48e6d64a263521a41437d33ee79606ff73e3371 (patch) | |
| tree | 66ed63a7b1c666b20cd697e6113dd61998078cbf /lib/mpi/mpi-inline.h | |
| parent | 414269dd957a220c48ca82cb3364412f50d18c98 (diff) | |
mmc: block: Add error handling in mmc_blk_cmdq_part_switch
mmc_blk_cmdq_part_switch always returned 0 even in case of
failures as errors are not handled in this function.
We need to un-halt cmdq in case it's in halt state when
mmc_switch fails. This change adds error handling code and
returns error in case of any failure.
Change-Id: Icd7ec4b7b53fc56d39dbcea195ae44bf08de17e5
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
