]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
spi: sun6i: update max transfer size reported
authorIcenowy Zheng <icenowy@aosc.xyz>
Mon, 20 Mar 2017 14:38:49 +0000 (22:38 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Mar 2017 15:38:51 +0000 (15:38 +0000)
commit3288d5cb40c09213e86d67b5cab09de1deb65a5c
tree2b086cb27b53bcfc3096205ccccab13b70ff82e3
parent913f536c6c18a2e19e32f06971101c1d0ae3739c
spi: sun6i: update max transfer size reported

The spi-sun6i driver have already got the ability to do large transfers.
However, the max transfer size reported is still fifo depth - 1.

Update the max transfer size reported to the max value possible.

Reported-by: Martin Ayotte <martinayotte@gmail.com>
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sun6i.c