]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
spi: meson-spicc: adapt burst handling for G12A support
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 12 Mar 2020 13:31:29 +0000 (14:31 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 12 Mar 2020 17:22:54 +0000 (17:22 +0000)
commit0eb707ac7dd7a4329d93d47feada6c9bb5ea8ee9
tree7787c0a0729381ff0f98a6c490e1d07e3e4c67be
parentf27bff479ea3de9ca325d4f8e8c8b49a87d6b0c5
spi: meson-spicc: adapt burst handling for G12A support

The G12A SPICC controller variant has a different FIFO size and doesn't
handle the RX Half interrupt the same way as GXL & AXG variants.

Thus simplify the burst management and take in account a variable FIFO
size.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200312133131.26430-8-narmstrong@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-meson-spicc.c