[PATCH 0/2] platform/x86: asus-armoury: fix notifications for grouped attributes

Ahmed Yaseen posted 2 patches 4 weeks, 1 day ago
drivers/platform/x86/asus-armoury.c | 23 ++++++++++++-----------
drivers/platform/x86/asus-armoury.h | 16 +++++++++-------
2 files changed, 21 insertions(+), 18 deletions(-)
[PATCH 0/2] platform/x86: asus-armoury: fix notifications for grouped attributes
Posted by Ahmed Yaseen 4 weeks, 1 day ago
Both fixes are the same mistake: the code identifies an attribute by
attr->attr.name, but callers always pass a current_value attribute, and
that name is always "current_value". sysfs_notify() therefore resolves
nothing, and asus_bios_requires_reboot() never matches.

Patch 1 threads the group name down to the notify calls; patch 2 uses
it for the reboot check, so it needs patch 1.

Ahmed Yaseen (2):
  platform/x86: asus-armoury: fix sysfs_notify() of grouped attributes
  platform/x86: asus-armoury: fix pending_reboot for grouped attributes

 drivers/platform/x86/asus-armoury.c | 23 ++++++++++++-----------
 drivers/platform/x86/asus-armoury.h | 16 +++++++++-------
 2 files changed, 21 insertions(+), 18 deletions(-)


base-commit: e6664f2b33db9b6811eb4cec109f06cb2b4f458d
-- 
2.55.0