mmc: sdhci: Do not reset cmd or data circuits that are in use
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:36 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:44 +0000 (10:34 +0200)
commit33a57adb6be38fbf008e4cdbf6c7085ed269bd3c
treed0369865c25baa63b96c09b8f7c90aafb89063f7
parent0293d50110fbe6ccbd2fd7e0478552ec8d27087a
mmc: sdhci: Do not reset cmd or data circuits that are in use

In order to support commands during data transfer, it will be possible to
need to reset the command circuit while the data circuit is in use, and
vice versa. It is now easy to determine whether the command or data circuit
is in use, and so just skip the corresponding reset if it is.

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