spi: spi-mtk-nor: reject DTR ops
authorPratyush Yadav <p.yadav@ti.com>
Tue, 23 Jun 2020 18:30:17 +0000 (00:00 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2020 16:29:40 +0000 (17:29 +0100)
commit4728f073bfc66b8b555274ef0d7741d7f5a48947
treeca682afb38fe3c8e056d21dc575831e34a6be8c6
parent5c81c275582c9d9c66d2f928591a2065f2528231
spi: spi-mtk-nor: 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-5-p.yadav@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mtk-nor.c