]> git.baikalelectronics.ru Git - uboot.git/commit
spi: f-ospi: Add missing spi_mem_default_supports_op() helper
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Mon, 27 Mar 2023 05:34:51 +0000 (14:34 +0900)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 25 Apr 2023 17:28:21 +0000 (22:58 +0530)
commit2673ae4f2337a82d06ce51817b09dbde91193a89
tree660278852f032cd34a63041180385beb91a45c41
parent0f843b3db1cadb0754751b4f42a6b11824b703e8
spi: f-ospi: Add missing spi_mem_default_supports_op() helper

The .supports_op() callback function returns true by default after
performing driver-specific checks. Therefore the driver cannot apply
the buswidth in devicetree.

Call spi_mem_default_supports_op() helper to handle the buswidth
in devicetree.

Fixes: 86bd070ae61a ("spi: Add Socionext F_OSPI SPI flash controller driver")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/spi-sn-f-ospi.c