spi: rockchip: adjust dma watermark and burstlen

Signal tx dma when spi fifo is less than half full,
and limit tx bursts to half the fifo length.

Clamp rx burst length to 1 to avoid alignment issues.

Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Huibin Hong 2018-10-10 11:00:33 +02:00 • committed by Mark Brown
commit dcfc861d24
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0