diff options
author | Girish K S <girish.shivananjappa@linaro.org> | 2012-06-12 09:58:22 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-07-21 04:02:06 (GMT) |
commit | 94c6cee91bebfc17596243b6a5f4fe910feec426 (patch) | |
tree | 483b6ecc1a637eb58935d769c2ad42ba2057a37c /drivers/mmc/host/sh_mmcif.c | |
parent | b650352dd3df36164e3427bff3f33bc06ac47642 (diff) | |
download | linux-fsl-qoriq-94c6cee91bebfc17596243b6a5f4fe910feec426.tar.xz |
mmc: dw_mmc: Add check for IDMAC configuration
In the current dwmmc driver there is support for selecting IDMAC from
the menu config option. If the support for IDMAC is enabled in the menu
config and the hardware configuration register's DMA_INTERFACE field is
0, the driver will still try to do the DMA initialization.
The dw_mci_idmac_init function currently implemented returns only success
indicating that the DMA initialization is always successful. This patch
adds a check for existence of the DMA IP to allow the DMA initialization.
Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
0 files changed, 0 insertions, 0 deletions