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

Commit 6fee65cf authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Pierre Ossman
Browse files

mmc: use shorter, equivalent set_current_state()

parent 2f730fec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -128,12 +128,12 @@ static int sdio_irq_thread(void *_host)
			}
		}

		set_task_state(current, TASK_INTERRUPTIBLE);
		set_current_state(TASK_INTERRUPTIBLE);
		if (host->caps & MMC_CAP_SDIO_IRQ)
			host->ops->enable_sdio_irq(host, 1);
		if (!kthread_should_stop())
			schedule_timeout(period);
		set_task_state(current, TASK_RUNNING);
		set_current_state(TASK_RUNNING);
	} while (!kthread_should_stop());

	if (host->caps & MMC_CAP_SDIO_IRQ)