mmc: core: Do not leave the block driver in a suspended state
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 21 Nov 2017 13:42:29 +0000 (15:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 23 Nov 2017 13:09:21 +0000 (14:09 +0100)
commitebe7dd45cf49e3b49cacbaace17f9f878f21fbea
tree89ec5e88bae52817df4196da94237d65acebc7cc
parentfb8e456e547ed2c699f64665bd8a3b9bde7b9728
mmc: core: Do not leave the block driver in a suspended state

The block driver must be resumed if the mmc bus fails to suspend the card.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org # v3.19+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/bus.c