spi: atmel-quadspi: Port collected fixes from Linux v5.10 and v5.15
authorAlexander Dahl <ada@thorsis.com>
Thu, 23 Jan 2025 12:12:10 +0000 (13:12 +0100)
committerEugen Hristev <eugen.hristev@linaro.org>
Wed, 12 Feb 2025 08:29:33 +0000 (10:29 +0200)
commit6a9e8d6d21157567702dc3ccec6a7dcda7cb2afe
tree080f92506d27abfccd1420bdc7306a4d44f37eb2
parentd3ded566db57ee7a09f354ab10018396725f38c0
spi: atmel-quadspi: Port collected fixes from Linux v5.10 and v5.15

Port changes from a 4 piece patch series from Linux kernel v5.10, merged
with v5.10-rc1-83-gc732b7567d869 ("Merge series "spi: atmel-quadspi: Fix
AHB memory accesses" from Tudor Ambarus …").

Port the single fix v5.15-rc1-14-g09134c5322df9 ("spi: Fixed division by
zero warning").

Reduces differences between linux and u-boot driver.

Cc: Tudor Ambarus <tudor.ambarus@microchip.com>
Cc: Yoshitaka Ikeda <ikeda@nskint.co.jp>
Signed-off-by: Alexander Dahl <ada@thorsis.com>
drivers/spi/atmel-quadspi.c