diff options
author | Andy Shevchenko <[email protected]> | 2024-03-07 17:01:01 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-03-07 15:07:11 +0000 |
commit | be84be4a35fa99cca7e81e6dd21516a324cca413 (patch) | |
tree | fb9b97ca44bd4f7e51b5317bc0ecb3024f769186 /scripts/gdb/linux/vmalloc.py | |
parent | 14fe5a98fb24192f73639590d9d3cdb5640d48db (diff) |
spi: Introduce SPI_INVALID_CS and is_valid_cs()
The SPI core inconsistently uses the marker value for unused chip select
pin. Define a constant (with appropriate type) and introduce is_valid_cs()
helper function to avoid spreading this inconsistency in the future.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions