Le 15/05/2023 à 14:18, Greg Kroah-Hartman a écrit :
On Sun, May 14, 2023 at 09:17:08AM +0000, Christophe Leroy wrote:
Hello,
In addition to c20c57d9868d ("spi: fsl-spi: Fix CPM/QE mode Litte Endian") that you already applied to all stable branches, could you please also apply:
8a5299a1278e ("spi: fsl-spi: Re-organise transfer bits_per_word adaptation") fc96ec826bce ("spi: fsl-cpm: Use 16 bit mode for large transfers with even size")
For 4.14 and 4.19, as prerequisit you will also need
af0e6242909c ("spi: spi-fsl-spi: automatically adapt bits-per-word in cpu mode")
That commit did not apply to 4.14 or 4.19, so I did not apply any of these to those queues. Please provide working backports for those trees if you wish to see them there.
That's strange. It does apply cleanly with 'git cherry-pick':
$ git reset --hard v4.14.314 HEAD is now at 9bbf62a71963 Linux 4.14.314
$ git cherry-pick af0e6242909c Auto-merging drivers/spi/spi-fsl-spi.c [detached HEAD 0923539dff2f] spi: spi-fsl-spi: automatically adapt bits-per-word in cpu mode Author: Rasmus Villemoes rasmus.villemoes@prevas.dk Date: Wed Mar 27 14:30:52 2019 +0000 1 file changed, 16 insertions(+)
I can send the result of the cherry-pick if it helps.
Christophe