diff options
| author | 2020-10-14 14:29:21 +0800 | |
|---|---|---|
| committer | 2020-10-26 15:26:31 +0100 | |
| commit | 3ffb7c45d193c771d7fc7722be0a45bc196f25f9 (patch) | |
| tree | 262cc286fc645cacf3483c2dabcbbed049c8cc68 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | gpiolib: Extract gpiod_not_found() helper (diff) | |
| download | linux-dev-3ffb7c45d193c771d7fc7722be0a45bc196f25f9.tar.xz linux-dev-3ffb7c45d193c771d7fc7722be0a45bc196f25f9.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
