mirror of
https://github.com/torvalds/linux.git
synced 2026-09-21 12:20:02 +02:00
The Lenovo GameZone/Other interfaces have some delicate divergences among different devices. When making a bug report or adding support for new devices/interfaces, capdata is the most important information to cross-check with. Add a debugfs file (lenovo_wmi/<device_name>/capdata), so that users can dump capdata and include it in their reports. Since `struct capdata01' is just an extension to `struct capdata00', also convert the former to include the latter anonymously (-fms-extensions, since v6.19). This is declared as a union in the capdata01 struct, with both the anonymous declaration and as a named member to avoid type casting when passing just the capdata00 struct pointer. Tested-by: Kurt Borja <kuurtb@gmail.com> Signed-off-by: Rong Zhang <i@rong.moe> Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com> Link: https://patch.msgid.link/20260520060740.119554-8-derekjohn.clark@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> |
||
|---|---|---|
| .. | ||
| ideapad-laptop.c | ||
| ideapad-laptop.h | ||
| Kconfig | ||
| Makefile | ||
| think-lmi.c | ||
| think-lmi.h | ||
| thinkpad_acpi.c | ||
| wmi-camera.c | ||
| wmi-capdata.c | ||
| wmi-capdata.h | ||
| wmi-events.c | ||
| wmi-events.h | ||
| wmi-gamezone.c | ||
| wmi-helpers.c | ||
| wmi-helpers.h | ||
| wmi-hotkey-utilities.c | ||
| wmi-other.c | ||
| ymc.c | ||
| yoga-tab2-pro-1380-fastcharger.c | ||
| yogabook.c | ||