mmc: block: Fix block status codes
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 25 Aug 2017 12:43:45 +0000 (15:43 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 11:49:40 +0000 (13:49 +0200)
commita7c17d8ae4918afe527c141cc20ed34dfe18e7db
tree43cf471c4d021e95551f4712f028092154c00df2
parentcc4a41fe5541a73019a864883297bd5043aa6d98
mmc: block: Fix block status codes

Commit 2a842acab109 ("block: introduce new block status code type") changed
the error type but not in patches merged through the mmc tree, like
commit 0493f6fe5bde ("mmc: block: Move boot partition locking into a driver
op"). Fix one error code that is incorrect and also use BLK_STS_OK in
preference to 0.

Fixes: 17ece345a042 ("Merge tag 'mmc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c