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