diff options
author | Miquel Raynal <[email protected]> | 2022-01-27 10:17:56 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-02-10 09:32:29 +0100 |
commit | 4a3cc7fb6e63bcfdedec25364738f1493345bd20 (patch) | |
tree | c25241f3e2c4e9dcc6ad90ad16ba57359939dfbe /net/lapb/lapb_out.c | |
parent | 70e038f89b467995708207fb57bbf46aec32dc2c (diff) |
spi: spi-mem: Introduce a capability structure
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 <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Tudor Ambarus <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions