On Thu, 2022-01-27 at 09:17:56 UTC, Miquel Raynal wrote: > Create a spi_controller_mem_caps structure and put it within the > spi_controller structure close to the spi_controller_mem_ops > strucure. So far the only field in this structure is the support for dtr > operations, but soon we will add another parameter. > > Also create a helper to parse the capabilities and check if the > requested capability has been set or not. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > Reviewed-by: Pratyush Yadav <p.yadav@xxxxxx> > Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> > Link: https://lore.kernel.org/linux-mtd/20220104083631.40776-2-miquel.raynal@xxxxxxxxxxx Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc. Miquel