Commit cbf6d82c authored by Niklas Söderlund's avatar Niklas Söderlund Committed by Ulf Hansson

mmc: core: add helper to see if a host is doing a retune

Add a helper to allow host drivers checking if a retune is in progress.
Signed-off-by: default avatarNiklas Söderlund <>
Reviewed-by: default avatarWolfram Sang <>
Tested-by: default avatarWolfram Sang <>
Signed-off-by: default avatarUlf Hansson <>
parent db4cea91
......@@ -569,6 +569,11 @@ static inline bool mmc_can_retune(struct mmc_host *host)
return host->can_retune == 1;
static inline bool mmc_doing_retune(struct mmc_host *host)
return host->doing_retune == 1;
static inline enum dma_data_direction mmc_get_dma_dir(struct mmc_data *data)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment