@@ -528,6 +528,8 @@ static void cqhci_prep_dcmd_desc(struct mmc_host *mmc,
}
}
+ if (cq_host->ops->get_dcmd_cmd_timing)
+ timing = cq_host->ops->get_dcmd_cmd_timing(mmc, mrq);
task_desc = (__le64 __force *)get_desc(cq_host, cq_host->dcmd_slot);
memset(task_desc, 0, cq_host->task_desc_len);
data |= (CQHCI_VALID(1) |
@@ -210,6 +210,8 @@ struct cqhci_host_ops {
u32 (*read_l)(struct cqhci_host *host, int reg);
void (*enable)(struct mmc_host *mmc);
void (*disable)(struct mmc_host *mmc, bool recovery);
+ u8 (*get_dcmd_cmd_timing)(struct mmc_host *mmc,
+ struct mmc_request *mrq);
};
static inline void cqhci_writel(struct cqhci_host *host, u32 val, int reg)