OSDN Git Service

mmc: core: Return the error if command queue request fails
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Mon, 9 Oct 2017 14:43:45 +0000 (20:13 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 24 Nov 2017 13:53:17 +0000 (05:53 -0800)
commit48f0cccb8c234698a76f3af4241e76a0ef8f1eab
tree93c3869860fe18e9755d473a159915e1e66e3e5b
parent17f54d16a19afd13ca577aae04cbeeb40025143c
mmc: core: Return the error if command queue request fails

command-queue request may fail during preparation/issuing in some
cases. In case if it fails, the error code needs to be propagated back
to the function which initiated the request so that the request can be
handled appropriately.

Change-Id: Ia6946c14f0c106fb30bd70ca5c9e600c516fdf55
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
drivers/mmc/core/core.c