diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 13:56:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 13:56:48 -0500 |
commit | aa7ed01f93ff7e149cad46f13f66b269d59c9bc0 (patch) | |
tree | ab46a44f3c83c75e1c81f211acd0d68ffe60dd7c /drivers/mmc/host/mmci.c | |
parent | 7796c11c728ad40ba4151d559a949c002deffb9a (diff) | |
parent | 017210d1c0dc2e2d3b142985cb31d90b98dc0f0f (diff) |
Merge tag 'mmc-v3.20-1' of git://git.linaro.org/people/ulf.hansson/mmc
Pull MMC updates from Ulf Hansson:
"MMC core:
- Support for MMC power sequences.
- SDIO function devicetree subnode parsing.
- Refactor the hardware reset routines and enable it for SD cards.
- Various code quality improvements, especially for slot-gpio.
MMC host:
- dw_mmc: Various fixes and cleanups.
- dw_mmc: Convert to mmc_send_tuning().
- moxart: Fix probe logic.
- sdhci: Various fixes and cleanups
- sdhci: Asynchronous request handling support.
- sdhci-pxav3: Various fixes and cleanups.
- sdhci-tegra: Fixes for T114, T124 and T132.
- rtsx: Various fixes and cleanups.
- rtsx: Support for SDIO.
- sdhi/tmio: Refactor and cleanup of header files.
- omap_hsmmc: Use slot-gpio and common MMC DT parser.
- Make all hosts to deal with errors from mmc_of_parse().
- sunxi: Various fixes and cleanups.
- sdhci: Support for Fujitsu SDHCI controller f_sdh30"
* tag 'mmc-v3.20-1' of git://git.linaro.org/people/ulf.hansson/mmc: (117 commits)
mmc: sdhci-s3c: solve problem with sleeping in atomic context
mmc: pwrseq: add driver for emmc hardware reset
mmc: moxart: fix probe logic
mmc: core: Invoke mmc_pwrseq_post_power_on() prior MMC_POWER_ON state
mmc: pwrseq_simple: Add optional reference clock support
mmc: pwrseq: Document optional clock for the simple power sequence
mmc: pwrseq_simple: Extend to support more pins
mmc: pwrseq: Document that simple sequence support more than one GPIO
mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2
mmc: sdhci-pxav3: Modify clock settings for the SDR50 and DDR50 modes
mmc: sdhci-pxav3: Extend binding with SDIO3 conf reg for the Armada 38x
mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951
mmc: sdhci-pxav3: Fix SDR50 and DDR50 capabilities for the Armada 38x flavor
mmc: sdhci: switch voltage before sdhci_set_ios in runtime resume
mmc: tegra: Write xfer_mode, CMD regs in together
mmc: Resolve BKOPS compatability issue
mmc: sdhci-pxav3: fix setting of pdata->clk_delay_cycles
mmc: dw_mmc: rockchip: remove incorrect __exit_p()
mmc: dw_mmc: exynos: remove incorrect __exit_p()
mmc: Fix menuconfig alignment of MMC_SDHCI_* options
...
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r-- | drivers/mmc/host/mmci.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 8232e9a02d40..7fe16194ebc8 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -430,7 +430,6 @@ static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data) | |||
430 | static void mmci_dma_setup(struct mmci_host *host) | 430 | static void mmci_dma_setup(struct mmci_host *host) |
431 | { | 431 | { |
432 | const char *rxname, *txname; | 432 | const char *rxname, *txname; |
433 | dma_cap_mask_t mask; | ||
434 | struct variant_data *variant = host->variant; | 433 | struct variant_data *variant = host->variant; |
435 | 434 | ||
436 | host->dma_rx_channel = dma_request_slave_channel(mmc_dev(host->mmc), "rx"); | 435 | host->dma_rx_channel = dma_request_slave_channel(mmc_dev(host->mmc), "rx"); |
@@ -439,10 +438,6 @@ static void mmci_dma_setup(struct mmci_host *host) | |||
439 | /* initialize pre request cookie */ | 438 | /* initialize pre request cookie */ |
440 | host->next_data.cookie = 1; | 439 | host->next_data.cookie = 1; |
441 | 440 | ||
442 | /* Try to acquire a generic DMA engine slave channel */ | ||
443 | dma_cap_zero(mask); | ||
444 | dma_cap_set(DMA_SLAVE, mask); | ||
445 | |||
446 | /* | 441 | /* |
447 | * If only an RX channel is specified, the driver will | 442 | * If only an RX channel is specified, the driver will |
448 | * attempt to use it bidirectionally, however if it is | 443 | * attempt to use it bidirectionally, however if it is |
@@ -1739,10 +1734,10 @@ static int mmci_probe(struct amba_device *dev, | |||
1739 | 1734 | ||
1740 | pm_runtime_set_autosuspend_delay(&dev->dev, 50); | 1735 | pm_runtime_set_autosuspend_delay(&dev->dev, 50); |
1741 | pm_runtime_use_autosuspend(&dev->dev); | 1736 | pm_runtime_use_autosuspend(&dev->dev); |
1742 | pm_runtime_put(&dev->dev); | ||
1743 | 1737 | ||
1744 | mmc_add_host(mmc); | 1738 | mmc_add_host(mmc); |
1745 | 1739 | ||
1740 | pm_runtime_put(&dev->dev); | ||
1746 | return 0; | 1741 | return 0; |
1747 | 1742 | ||
1748 | clk_disable: | 1743 | clk_disable: |