spi: atmel-quadspi: reject DTR ops
authorPratyush Yadav <p.yadav@ti.com>
Tue, 23 Jun 2020 18:30:16 +0000 (00:00 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2020 16:29:39 +0000 (17:29 +0100)
commit5c81c275582c9d9c66d2f928591a2065f2528231
tree1fb43bee5b56da19f2c50c0eb825d712d58a86d3
parentcaf72df48be32c39f74287976ae843501ae06949
spi: atmel-quadspi: reject DTR ops

Double Transfer Rate (DTR) ops are added in spi-mem. But this controller
doesn't support DTR transactions. Since we don't use the default
supports_op(), which rejects all DTR ops, do that explicitly in our
supports_op().

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200623183030.26591-4-p.yadav@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c