This patch changes DMA_BIT_MASK to 36 to disable ZONE_DMA
Change-Id: Idf2b475b2acc4d7cd2755c38b720435712fbffa9
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
}
}
-#define XFER_DMAADDR_INVALID DMA_BIT_MASK(32)
+#define XFER_DMAADDR_INVALID DMA_BIT_MASK(36)
static int s3c64xx_spi_map_mssg(struct s3c64xx_spi_driver_data *sdd,
struct spi_message *msg)
char clk_name[16];
int fifosize;
+ ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36));
+ if (ret)
+ return ret;
+
if (!sci && pdev->dev.of_node) {
sci = s3c64xx_spi_parse_dt(&pdev->dev);
if (IS_ERR(sci))