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

Commit 78869618 authored by Aaron Lu's avatar Aaron Lu Committed by Chris Ball
Browse files

mmc: sdhci: fix retuning timer wrongly deleted in sdhci_tasklet_finish



Currently, the retuning timer for retuning mode 1 will be deleted in
function sdhci_tasklet_finish after a mmc request done, which will make
retuning timing never trigger again. This patch fixed this problem.

Signed-off-by: default avatarAaron Lu <Aaron.Lu@amd.com>
Reviewed-by: default avatarPhilip Rakity <prakity@marvell.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 322a8b03
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1867,9 +1867,6 @@ static void sdhci_tasklet_finish(unsigned long param)

	del_timer(&host->timer);

	if (host->version >= SDHCI_SPEC_300)
		del_timer(&host->tuning_timer);

	mrq = host->mrq;

	/*