OSDN Git Service

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:24:33 +0000 (11:24 +0100)
commit0bf4d0517667877c2b0955586070fd7198943896
treee7998a73f8b0e2a734a7d7f492e3b0b88c5f4158
parent9aad75786e3d986499934fdaec7f911949a2f3e3
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