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)
commitd7422fb489eee5587d3eecdd1151f90bf78f93a4
treee08f9bd274a759ad718bc12bf23059a78ed4f3e1
parent56a590dcdc973e05230e9af3bcd4dfefd40d4127
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