mmc: sdhci: Clear pointers when a request finishes
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:30 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:41 +0000 (10:34 +0200)
commit5a8a3fef26cea4ab1fd023a20bb5b8f0bd87ce77
tree707881a7cab91e967a5435118c5ccaf12602f216
parented1563de0bc90e09d9707a85cf8d0e958c6f6261
mmc: sdhci: Clear pointers when a request finishes

Several pointers are used to identify when interrupts are expected. Namely,
host->cmd, host->data_cmd and host->data. Ensure those are cleared when
a request finishes. That tidies the case when a request is errored out
before normal processing has completed, ensuring any interrupts that occur
subsequently are not acted upon.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
This page took 0.024662 seconds and 5 git commands to generate.