diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-02-06 13:13:00 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:07:14 +0200 |
commit | e1bfad6d936d7149a83423e2a7244dd5771f27e7 (patch) | |
tree | 4ef73a2b9a7b21597679d36959e0db9ebda3e9f5 /drivers/mmc/host/sdhci-pci.h | |
parent | mmc: sdhci: Add a callback to select drive strength (diff) | |
download | linux-e1bfad6d936d7149a83423e2a7244dd5771f27e7.tar.xz linux-e1bfad6d936d7149a83423e2a7244dd5771f27e7.zip |
mmc: sdhci-pci: Add support for drive strength selection for SPT
Implement the select_drive_strength callback to provide
drive strength selection for Intel SPT.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.h')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h index 1ec684d06d54..541f1cad5247 100644 --- a/drivers/mmc/host/sdhci-pci.h +++ b/drivers/mmc/host/sdhci-pci.h @@ -72,6 +72,10 @@ struct sdhci_pci_slot { bool cd_override_level; void (*hw_reset)(struct sdhci_host *host); + int (*select_drive_strength)(struct sdhci_host *host, + struct mmc_card *card, + unsigned int max_dtr, int host_drv, + int card_drv, int *drv_type); }; struct sdhci_pci_chip { |