Loading drivers/mmc/host/sdhci-msm.c +3 −1 Original line number Diff line number Diff line Loading @@ -4238,8 +4238,10 @@ static void sdhci_set_default_hw_caps(struct sdhci_msm_host *msm_host, /* keep track of the value in SDHCI_CAPABILITIES */ msm_host->caps_0 = caps; if ((major == 1) && (minor >= 0x6b)) if ((major == 1) && (minor >= 0x6b)) { msm_host->ice_hci_support = true; host->cdr_support = true; } } #ifdef CONFIG_MMC_CQ_HCI Loading drivers/mmc/host/sdhci.c +1 −1 Original line number Diff line number Diff line Loading @@ -3696,7 +3696,7 @@ static void sdhci_cmdq_set_transfer_params(struct mmc_host *mmc) ctrl |= SDHCI_CTRL_ADMA32; sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL); } if (host->ops->toggle_cdr) if (host->ops->toggle_cdr && !host->cdr_support) host->ops->toggle_cdr(host, false); } Loading drivers/mmc/host/sdhci.h +1 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,7 @@ struct sdhci_host { bool bus_on; /* Bus power prevents runtime suspend */ bool preset_enabled; /* Preset is enabled */ bool pending_reset; /* Cmd/data reset is pending */ bool cdr_support; struct mmc_request *mrqs_done[SDHCI_MAX_MRQS]; /* Requests done */ struct mmc_request *mrq; /* Current request */ Loading Loading
drivers/mmc/host/sdhci-msm.c +3 −1 Original line number Diff line number Diff line Loading @@ -4238,8 +4238,10 @@ static void sdhci_set_default_hw_caps(struct sdhci_msm_host *msm_host, /* keep track of the value in SDHCI_CAPABILITIES */ msm_host->caps_0 = caps; if ((major == 1) && (minor >= 0x6b)) if ((major == 1) && (minor >= 0x6b)) { msm_host->ice_hci_support = true; host->cdr_support = true; } } #ifdef CONFIG_MMC_CQ_HCI Loading
drivers/mmc/host/sdhci.c +1 −1 Original line number Diff line number Diff line Loading @@ -3696,7 +3696,7 @@ static void sdhci_cmdq_set_transfer_params(struct mmc_host *mmc) ctrl |= SDHCI_CTRL_ADMA32; sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL); } if (host->ops->toggle_cdr) if (host->ops->toggle_cdr && !host->cdr_support) host->ops->toggle_cdr(host, false); } Loading
drivers/mmc/host/sdhci.h +1 −0 Original line number Diff line number Diff line Loading @@ -569,6 +569,7 @@ struct sdhci_host { bool bus_on; /* Bus power prevents runtime suspend */ bool preset_enabled; /* Preset is enabled */ bool pending_reset; /* Cmd/data reset is pending */ bool cdr_support; struct mmc_request *mrqs_done[SDHCI_MAX_MRQS]; /* Requests done */ struct mmc_request *mrq; /* Current request */ Loading