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: 358f803ae2
("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>
This commit is contained in:
parent
db58dc5438
commit
c008280a9a
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ static bool f_ospi_supports_op(struct spi_slave *slave,
|
|||
if (!f_ospi_supports_op_width(op))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
return spi_mem_default_supports_op(slave, op);
|
||||
}
|
||||
|
||||
static int f_ospi_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op)
|
||||
|
|
Loading…
Reference in a new issue