diff options
author | Tudor Ambarus <[email protected]> | 2019-02-05 17:33:25 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-02-06 17:20:40 +0000 |
commit | b456fd18ca69f3e6f0c846322ffa4def5379dd4a (patch) | |
tree | 322d429618f28a6c36c8d65a346c6b8c0b3a14f8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cae417b2a89b40480bf4f259417ba7148bf4c8e2 (diff) |
spi: atmel-quadspi: rework transfer macros
Split the TFRTYP_TRSFR_ bitfields in 2: one bit encoding the
mem/reg transfer type and one bit encoding the direction of
the transfer (read/write).
Remove NOP when setting read transfer type. Remove useless
setting of write transfer type when
op->data.dir == SPI_MEM_DATA_IN && !op->data.nbytes.
QSPI_IFR_TFRTYP_TRSFR_WRITE is specific just to sama5d2 qspi,
rename it to QSPI_IFR_SAMA5D2_WRITE_TRSFR.
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions