]> git.baikalelectronics.ru Git - kernel.git/commit
spi: fsi: Reduce max transfer size to 8 bytes
authorEddie James <eajames@linux.ibm.com>
Fri, 16 Jul 2021 13:39:14 +0000 (08:39 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jul 2021 15:56:14 +0000 (16:56 +0100)
commite9a3e0c869c9eb65ebcfb610e8dc659841c7e7be
tree186069c4d89919527a2ba6428c32109e19c107fa
parentb1b49cbcf8bd66059ed6f80c573a7ff83991d8ef
spi: fsi: Reduce max transfer size to 8 bytes

Security changes have forced the SPI controllers to be limited to
8 byte reads. Refactor the sequencing to just handle 8 bytes at a
time.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20210716133915.14697-2-eajames@linux.ibm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-fsi.c