diff options
| author | Pratyush Yadav <p.yadav@ti.com> | 2021-02-04 19:42:18 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-02-11 15:51:37 +0000 |
| commit | d2275139649bc34b8b5c3e33d26d991ab8a1364c (patch) | |
| tree | 761165969fcc3d2d30c291998273c0313ec1207a /include/linux/fpga/fpga-bridge.h | |
| parent | 539cf68cd51bfcd2987ce1c44e628e9da69de7c8 (diff) | |
spi: cadence-quadspi: Use spi_mem_dtr_supports_op()
Use the newly introduced spi_mem_dtr_supports_op() to check DTR op
support. This means the buswidth check does not need to be replicated.
It also happens to fix a bug where STR ops with a 2-byte opcode would be
reported as supported.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20210204141218.32229-2-p.yadav@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
