Re: [PATCH v10 04/17] spi: spi-mtk-nor: reject DTR ops

2020-07-12 Thread Tudor.Ambarus
On 6/23/20 9:30 PM, Pratyush Yadav wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > 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(),

[PATCH v10 04/17] spi: spi-mtk-nor: reject DTR ops

2020-06-23 Thread Pratyush Yadav
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 --- drivers/spi/spi-mtk-nor.c | 6 ++ 1 f