Signed-off-by: Axel Lin <[email protected]>
---
 drivers/mmc/host/wmt-sdmmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
index 34231d5..3605c37 100644
--- a/drivers/mmc/host/wmt-sdmmc.c
+++ b/drivers/mmc/host/wmt-sdmmc.c
@@ -852,7 +852,7 @@ static int wmt_mci_probe(struct platform_device *pdev)
        priv->dma_desc_buffer = dma_alloc_coherent(&pdev->dev,
                                                   mmc->max_blk_count * 16,
                                                   &priv->dma_desc_device_addr,
-                                                  208);
+                                                  GFP_KERNEL);
        if (!priv->dma_desc_buffer) {
                dev_err(&pdev->dev, "DMA alloc fail\n");
                ret = -EPERM;
-- 
1.8.1.2



--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to