]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Separate timer timeout for command and data requests
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:33 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:43 +0000 (10:34 +0200)
commitf25a06c61ce3c99e410a3496eba48e377406af2b
treee08f9bd274a759ad718bc12bf23059a78ed4f3e1
parenta7762c07206dd1ee962ca4c9256f3130f1ba2b66
mmc: sdhci: Separate timer timeout for command and data requests

In order to support commands during data transfer, there will have to be up
to two active requests (mrqs) at a time, instead of just one. Provide two
timers instead of just one. One of the timers is for requests that do not
use the data lines, and the other one is for requests that do.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h