mmc: Extend wakelock if bus is dead
authorJohn Stultz <john.stultz@linaro.org>
Fri, 4 Dec 2015 20:13:13 +0000 (12:13 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:05 +0000 (13:51 -0800)
commitc38a74bdb5be68b268ac06dd793bc7259f6aecbd
treeb6848fcb21570617a0d20c2f0b74e317b0fde710
parentbec7bcbb707d10b80d450f6f02384efeff294799
mmc: Extend wakelock if bus is dead

This patch sets extend_wakelock if the host's
bus is marked dead due to card removal.

This change was originally made in bc4dc52f178828
(mmc: mmcblk: Add support for deferred SD bus resume),
which was reverted due to the majority of the patch
no longer building or making sense. However one small
part of that patch ought to be saved.

Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/mmc/core/core.c