]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbb91a40bf6c3164a278e0fba27d8c8521a0fe27
tree707881a7cab91e967a5435118c5ccaf12602f216
parenteb9f862ae641feb5f7ff2fc8bbd44b6fc26c3e68
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