mmc: msm_sdcc: set sdcc device dma_mask to 0xffffffff

DMA hardware (ADM or SPS) connected to SDCC controllers
is capable of addressing the entire 32 bit adddress space
so this change sets the sdcc devices dma_mask to
0xffffffff.

Changing the dma_mask to indicate full 32 bit address space
will avoid unnecessary bouncing of buffers from high memory
to low memory.

CRs-fixed: 321813
Change-Id: I3180953d02361a7ea9e7f33ee7d547a8034ee133
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index d1e994a..b46bee6 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -76,6 +76,7 @@
 static int  msmsdcc_dbg_init(void);
 #endif
 
+static u64 dma_mask = DMA_BIT_MASK(32);
 static unsigned int msmsdcc_pwrsave = 1;
 
 static struct mmc_command dummy52cmd;
@@ -3929,6 +3930,7 @@
 		if (ret)
 			goto sps_exit;
 	}
+	mmc_dev(mmc)->dma_mask = &dma_mask;
 
 	/*
 	 * Setup MMC host structure