|
@@ -789,6 +789,14 @@ static int tmio_mmc_start_data(struct tmio_mmc_host *host,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static void tmio_mmc_hw_reset(struct mmc_host *mmc)
|
|
|
+{
|
|
|
+ struct tmio_mmc_host *host = mmc_priv(mmc);
|
|
|
+
|
|
|
+ if (host->hw_reset)
|
|
|
+ host->hw_reset(host);
|
|
|
+}
|
|
|
+
|
|
|
/* Process requests from the MMC layer */
|
|
|
static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
|
|
|
{
|
|
@@ -1005,6 +1013,7 @@ static struct mmc_host_ops tmio_mmc_ops = {
|
|
|
.get_cd = mmc_gpio_get_cd,
|
|
|
.enable_sdio_irq = tmio_mmc_enable_sdio_irq,
|
|
|
.multi_io_quirk = tmio_multi_io_quirk,
|
|
|
+ .hw_reset = tmio_mmc_hw_reset,
|
|
|
};
|
|
|
|
|
|
static int tmio_mmc_init_ocr(struct tmio_mmc_host *host)
|