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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2017 10:26:32 +0000 (11:26 +0100)
commit94497458fbb519dbc230e5156f58d4b3a49ba0c1
treec91b35dd846ee3012b378b17a97df8a812394219
parent957c27d45611ad4ef924840346bc338b8f3c870b
mmc: core: Do not leave the block driver in a suspended state

commit ebe7dd45cf49e3b49cacbaace17f9f878f21fbea upstream.

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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/bus.c