- In Ramen, CSIS_STAT_DMA HW is not supported.
Change-Id: I691d7c05727de37b11fcabb1419da17496d33e4b
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
goto err_get_base_csis_dma;
}
+#if defined(ENABLE_PDP_STAT_DMA)
mem_res = NULL;
mem_res = platform_get_resource(pdev, IORESOURCE_MEM, IORESOURCE_STAT_DMA);
if (!mem_res) {
ret = -ENOMEM;
goto err_get_base_stat_dma;
}
+#endif
atomic_set(&csi_dma->rcount, 0);
return 0;
+#if defined(ENABLE_PDP_STAT_DMA)
err_get_base_stat_dma:
err_get_resource_stat_dma:
+#endif
err_get_base_csis_dma:
err_get_resource_csis_dma:
err("[CSI:D] %s(%d)\n", __func__, ret);