diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2023-03-22 11:31:01 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-22 13:17:43 +0000 |
commit | bc43c5ec1a97772269785d19f62d32c91ac5fc36 (patch) | |
tree | 8db7682bb24f23c702d9109cab1fa6d983414611 /drivers/spi/spi-omap2-mcspi.c | |
parent | 99d822b3adc4f9af59cefdc6619cb3f64182efed (diff) | |
download | lwn-bc43c5ec1a97772269785d19f62d32c91ac5fc36.tar.gz lwn-bc43c5ec1a97772269785d19f62d32c91ac5fc36.zip |
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: 1b74dd64c861 ("spi: Add Socionext F_OSPI SPI flash controller driver")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20230322023101.24490-1-hayashi.kunihiko@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions