]> git.baikalelectronics.ru Git - uboot.git/commit
spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 8 Apr 2022 08:40:26 +0000 (11:40 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 26 Apr 2022 06:54:41 +0000 (09:54 +0300)
commite1fc8c7403237ee2e47103bd0d2a952aceb3611d
treedea81b95d88c906fd0507607243cfdd8cf6ca0c7
parent9d429b4e529b76c668881fd81abcb088bf5536cd
spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller

Use the spi_mem_default_supports_op() core helper in order to take into
account the buswidth specified by the user in device tree.

Fixes: b6f2f084c6 ("spi: Add Atmel QuadSPI driver")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/spi/atmel-quadspi.c