Files
linux/drivers/spi
Stefan Wahren ff949d981c spi: spi-fsl-lpspi: Fix off-by-one in prescale max
The commit 783bf5d09f ("spi: spi-fsl-lpspi: limit PRESCALE bit in
TCR register") doesn't implement the prescaler maximum as intended.
The maximum allowed value for i.MX93 should be 1 and for i.MX7ULP
it should be 7. So this needs also a adjustment of the comparison
in the scldiv calculation.

Fixes: 783bf5d09f ("spi: spi-fsl-lpspi: limit PRESCALE bit in TCR register")
Signed-off-by: Stefan Wahren <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
2024-09-05 12:55:59 +01:00
..
2024-07-08 17:01:10 +01:00
2024-07-08 17:01:10 +01:00
2024-07-08 17:01:10 +01:00
…
2024-06-25 20:04:31 +01:00
2024-02-13 15:48:22 +00:00
2024-03-18 17:30:46 +00:00
2024-06-11 11:38:25 +01:00
2023-08-21 14:29:37 +01:00
2024-07-05 18:47:46 +01:00