OSDN Git Service

spi: pxa2xx: Allow 64-bit DMA
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Apr 2018 16:53:32 +0000 (19:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 06:48:52 +0000 (08:48 +0200)
commit503ef637f94de26dc88241634f213f42194367d6
treef2ff7c35c1debfa726ef5175c0f2331928168ae5
parent59e3b28998558e3fdaf96ab37141c4d24d520f69
spi: pxa2xx: Allow 64-bit DMA

commit efc4a13724b852ddaa3358402a8dec024ffbcb17 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-pxa2xx.h