diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-04-19 12:53:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-24 11:10:12 -0400 |
commit | efc4a13724b852ddaa3358402a8dec024ffbcb17 (patch) | |
tree | ae1de975597aa8136509c71c72b98db6b5e34c53 | |
parent | 49530e6411789c1b9ea3ebc58e520c19d1c3752f (diff) |
spi: pxa2xx: Allow 64-bit DMA
Currently the 32-bit device address only is supported for DMA. However,
starting from Intel Sunrisepoint PCH the DMA address of the device FIFO
can be 64-bit.
Change the respective variable to be compatible with DMA engine
expectations, i.e. to phys_addr_t.
Fixes: 34cadd9c1bcb ("spi: pxa2xx: Add support for Intel Sunrisepoint")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index 513ec6c6e25b..0ae7defd3492 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h | |||
@@ -38,7 +38,7 @@ struct driver_data { | |||
38 | 38 | ||
39 | /* SSP register addresses */ | 39 | /* SSP register addresses */ |
40 | void __iomem *ioaddr; | 40 | void __iomem *ioaddr; |
41 | u32 ssdr_physical; | 41 | phys_addr_t ssdr_physical; |
42 | 42 | ||
43 | /* SSP masks*/ | 43 | /* SSP masks*/ |
44 | u32 dma_cr1; | 44 | u32 dma_cr1; |