mmc: sdhci-omap: Add platform specific reset callback
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 21 Nov 2018 10:33:56 +0000 (16:03 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit5b0d62108b468b13410533c0ceea3821942bf592
treef59db2900c252befb435f8631c1555f0e17a4ad5
parent96e03fffa306f3a02e34c1dbc271ea040b8705d0
mmc: sdhci-omap: Add platform specific reset callback

The TRM (SPRUIC2C - January 2017 - Revised May 2018 [1]) forbids
assertion of data reset while tuning is happening. Implement a
platform specific callback that takes care of this condition.

[1] http://www.ti.com/lit/pdf/spruic2 Section 25.5.1.2.4

Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c