We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f944814 commit fde87ebCopy full SHA for fde87eb
arch/m68k/coldfire/stmark2.c
@@ -13,6 +13,7 @@
13
#include <linux/spi/spi.h>
14
#include <linux/spi/spi-fsl-dspi.h>
15
#include <linux/spi/flash.h>
16
+#include <linux/dma-mapping.h>
17
#include <asm/mcfsim.h>
18
19
/*
@@ -78,6 +79,8 @@ static struct resource dspi_spi0_resource[] = {
78
79
},
80
};
81
82
+static u64 stmark2_dspi_mask = DMA_BIT_MASK(32);
83
+
84
/* SPI controller, id = bus number */
85
static struct platform_device dspi_spi0_device = {
86
.name = "fsl-dspi",
@@ -86,6 +89,8 @@ static struct platform_device dspi_spi0_device = {
89
.resource = dspi_spi0_resource,
87
90
.dev = {
88
91
.platform_data = &dspi_spi0_info,
92
+ .dma_mask = &stmark2_dspi_mask,
93
+ .coherent_dma_mask = DMA_BIT_MASK(32),
94
95
96
0 commit comments