spi: sunxi: expose maximum transfer size limit
authorMichal Suchanek <hramrach@gmail.com>
Mon, 13 Jun 2016 17:46:50 +0000 (17:46 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jun 2016 09:04:42 +0000 (10:04 +0100)
commit794912cff6dba8b5e93948243299bb0b2cb11277
treeae2ee6e5e2a4dac0b8e98aea1697adc0fee73329
parent1a695a905c18548062509178b98bc91e67510864
spi: sunxi: expose maximum transfer size limit

The sun4i spi hardware can trasfer at most 63 bytes of data without DMA
support so report the limitation. Same for sun6i.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sun4i.c
drivers/spi/spi-sun6i.c