mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
Subsystems (2)
PATCH 1/1 mmc: wmt-sdmmc: Use GFP_KERNEL instead of hard-coded value
Signed-off-by Axel Lin <[email protected]>
--- drivers/mmc/host/wmt-sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/wmt-sdmmc.c +1 -1
@@ -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 ;
Signature · 1 line
1.8.1.2