diff options
| author | Johannes Berg <[email protected]> | 2023-09-14 15:45:17 +0200 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-09-18 09:36:57 +0200 |
| commit | 2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d (patch) | |
| tree | d2fef1e758292fcf1a28c9f00aa47908db5d1165 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | 6e48ebffc2db5419b3a51cfc509bde442252b356 (diff) | |
rfkill: sync before userspace visibility/changes
If userspace quickly opens /dev/rfkill after a new
instance was created, it might see the old state of
the instance from before the sync work runs and may
even _change_ the state, only to have the sync work
change it again.
Fix this by doing the sync inline where needed, not
just for /dev/rfkill but also for sysfs.
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions