diff options
author | Ricardo Ribalda Delgado <[email protected]> | 2018-10-05 08:52:58 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2018-10-10 10:31:40 +0200 |
commit | f8ec92a9f63b3b11e399409141b7868bb405e6b5 (patch) | |
tree | d1771589a157dc6bf83d67364a7c5dd64f8f1d69 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2505c7b0128f63289a59d77ee39cacd08aacf779 (diff) |
gpiolib: Add init_valid_mask exported function
Add a function that allows initializing the valid_mask from
gpiochip_add_data.
This prevents race conditions during gpiochip initialization.
If the function is not exported, then the old behaviour is respected,
this is, set all gpios as valid.
Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
Tested-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions