mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
spi: spi-mem: export spi_mem_default_supports_op()
Controllers can use this function to perform basic sanity checking on the spi-mem op. Reviewed-by: Sean Anderson <seanga2@gmail.com> Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
d15de62301
commit
2299076e34
1 changed files with 3 additions and 0 deletions
|
@ -250,6 +250,9 @@ int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op);
|
||||||
|
|
||||||
bool spi_mem_supports_op(struct spi_slave *slave, const struct spi_mem_op *op);
|
bool spi_mem_supports_op(struct spi_slave *slave, const struct spi_mem_op *op);
|
||||||
|
|
||||||
|
bool spi_mem_default_supports_op(struct spi_slave *slave,
|
||||||
|
const struct spi_mem_op *op);
|
||||||
|
|
||||||
int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op);
|
int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op);
|
||||||
|
|
||||||
bool spi_mem_default_supports_op(struct spi_slave *mem,
|
bool spi_mem_default_supports_op(struct spi_slave *mem,
|
||||||
|
|
Loading…
Reference in a new issue