aboutsummaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorGirish K S <girish.shivananjappa@linaro.org>2012-06-12 15:28:22 +0530
committerChris Ball <cjb@laptop.org>2012-07-21 00:02:06 -0400
commit94c6cee91bebfc17596243b6a5f4fe910feec426 (patch)
tree483b6ecc1a637eb58935d769c2ad42ba2057a37c /block/genhd.c
parentb650352dd3df36164e3427bff3f33bc06ac47642 (diff)
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 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions