Skip to content

Commit

Permalink
mmc: sdhci: fix retuning timer wrongly deleted in sdhci_tasklet_finish
Browse files Browse the repository at this point in the history
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: Aaron Lu <[email protected]>
Reviewed-by: Philip Rakity <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
  • Loading branch information
Aaron Lu authored and cjb committed Aug 13, 2011
1 parent 322a8b0 commit 7886961
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/mmc/host/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit 7886961

Please sign in to comment.