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

Commit 2f5c0614 authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

Revert "mmc: Extend wakelock if bus is dead"

This reverts commit 2902b20e.
parent 2f616d58
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2455,12 +2455,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.