Merge tag 'pinctrl-v4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[sfrench/cifs-2.6.git] / include / linux / mmc / host.h
index beed7121c7818b74f9e70bd701c34ea8ee55d914..2a5fe75dd0821d03f7b8624d878ae457d6fe2ee9 100644 (file)
@@ -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)
 {
        return data->flags & MMC_DATA_WRITE ? DMA_TO_DEVICE : DMA_FROM_DEVICE;