diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-10-14 14:29:21 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-10-26 15:26:31 +0100 |
commit | 3ffb7c45d193c771d7fc7722be0a45bc196f25f9 (patch) | |
tree | 262cc286fc645cacf3483c2dabcbbed049c8cc68 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7b58696d9a8415576317615c63e9899797026f17 (diff) |
gpiolib: cdev: document that line eflags are shared
The line.eflags field is shared so document this fact and highlight it
throughout using READ_ONCE() and WRITE_ONCE() accessors.
Also use a local copy of the eflags in edge_irq_thread() to ensure
consistent control flow even if eflags changes. This is only a defensive
measure as edge_irq_thread() is currently disabled when the eflags are
changed.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions