diff options
author | 2021-11-28 20:00:27 +0100 | |
---|---|---|
committer | 2021-12-06 22:33:22 +0100 | |
commit | a90b38c58667142ecff2521481ed44286d46b140 (patch) | |
tree | 5aff4cad39086e64d84068cd635480a89bd6d68f /include/linux/wmi.h | |
parent | platform/x86/intel: hid: add quirk to support Surface Go 3 (diff) | |
download | wireguard-linux-a90b38c58667142ecff2521481ed44286d46b140.tar.xz wireguard-linux-a90b38c58667142ecff2521481ed44286d46b140.zip |
platform/x86: wmi: Replace read_takes_no_args with a flags field
Replace the wmi_block.read_takes_no_args bool field with
an unsigned long flags field, used together with test_bit()
and friends.
This is a preparation patch for fixing a driver->notify() vs ->probe()
race, which requires atomic flag handling.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211128190031.405620-1-hdegoede@redhat.com
Diffstat (limited to 'include/linux/wmi.h')
0 files changed, 0 insertions, 0 deletions