diff options
author | Boris Brezillon <[email protected]> | 2018-11-06 17:05:31 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-11-20 16:26:26 +0000 |
commit | 0ebb261a0b2d090de618a383d2378d4a00834958 (patch) | |
tree | 51563f70576044f4641a4e20399e6e7ccd18cb5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6afe76a6723975391d06c42a422370a588395f84 (diff) |
spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum
When defining spi_mem_op templates we don't necessarily know the size
that will be passed when the template is actually used, and basing the
supports_op() check on op->data.nbytes to know whether there will be
data transferred for a specific operation is this not possible.
Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum so that we can base
our checks on op->data.dir instead of op->data.nbytes.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions