OSDN Git Service

mmc: sdhci: correct the maximum timeout when enable CMDQ
authorBOUGH CHEN <haibo.chen@nxp.com>
Mon, 7 Jan 2019 10:11:36 +0000 (10:11 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 07:40:58 +0000 (08:40 +0100)
commit401059df9b62e11f1544bd106cc4a21c398c0de9
tree488d1268b7eeaf8d68f980ea973008d3a7ab8c0a
parent029e2476f9e6755ca6cc91922d1d75e856c0820a
mmc: sdhci: correct the maximum timeout when enable CMDQ

Change to use sdhci_set_timeout() to set the maximum timeout, so that
the host can use it's own set_timeout() callback to set the maximum
timeout if the host has.

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