diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-02-19 23:21:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-20 17:14:14 +0000 |
commit | ef070b4e4aa25bb5f8632ad196644026c11903bf (patch) | |
tree | 51cea54a7a78747e6af42382232037a8ec12ce30 /drivers/spi/spi-sprd.c | |
parent | 673c865efbdc5fec3cc525c46d71844d42c60072 (diff) | |
download | linux-ef070b4e4aa25bb5f8632ad196644026c11903bf.tar.bz2 |
spi: pxa2xx: Setup maximum supported DMA transfer length
When the commit b6ced294fb61
("spi: pxa2xx: Switch to SPI core DMA mapping functionality")
switches to SPI core provided DMA helpers, it missed to setup maximum
supported DMA transfer length for the controller and thus users
mistakenly try to send more data than supported with the following
warning:
ili9341 spi-PRP0001:01: DMA disabled for transfer length 153600 greater than 65536
Setup maximum supported DMA transfer length in order to make users know
the limit.
Fixes: b6ced294fb61 ("spi: pxa2xx: Switch to SPI core DMA mapping functionality")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/spi/spi-sprd.c')
0 files changed, 0 insertions, 0 deletions