Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 668cdada authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Amit Pundir
Browse files

Revert "mmc: Extend wakelock if bus is dead"

This reverts commit 2902b20e.
parent 604c5e24
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2481,12 +2481,6 @@ void mmc_rescan(struct work_struct *work)

	host->detect_change = 0;

	/* If the card was removed the bus will be marked
	 * as dead - extend the wakelock so userspace
	 * can respond */
	if (host->bus_dead)
		extend_wakelock = 1;

	/*
	 * Let mmc_bus_put() free the bus/bus_ops if we've found that
	 * the card is no longer present.