]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
mmc: sdhci: Dynamic selection of DMA,PIO modes
authorPavan Kunapuli <pkunapuli@nvidia.com>
Tue, 11 Nov 2014 09:44:53 +0000 (15:14 +0530)
committerPavan Kunapuli <pkunapuli@nvidia.com>
Wed, 6 May 2015 14:46:37 +0000 (07:46 -0700)
commitd6883241ddb6588859ebce311f0988d4edf4703c
treef38f9097ab321cd218a3841b6ca7d224d9fcf7d2
parent7d1e03024a7607a5dd1fef08ae903bab164aa226
mmc: sdhci: Dynamic selection of DMA,PIO modes

Adding support to dynamically switch between DMA and PIO modes depending
on the max pio transfer limits set.
If none of the dma modes are supported, then pio mode would be chosen
automatically.
If the max pio transfer limits are not set, then PIO mode would be
ignored.

Bug 1507868

Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/601082
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
(cherry picked from commit 879d0c63b5c4671184b20ee1ad20f90e5c969ecd)
Change-Id: Icd98c3f6d199df54d5ca7b76b825e1c4244f427f
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/739657
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h
include/linux/mmc/sdhci.h