diff options
| author | 2024-12-10 01:16:55 +0100 | |
|---|---|---|
| committer | 2024-12-10 16:40:31 +0200 | |
| commit | a11d8b37942d3c12a8a5f8ae30cbdeb069e5d819 (patch) | |
| tree | a6762891e2821fb693950f79896fb09d1293c41b /scripts/Makefile.thinlto | |
| parent | platform/x86: acer-wmi: Rename ACER_CAP_FAN_SPEED_READ (diff) | |
platform/x86: acer-wmi: Improve error handling when reading gaming system information
If a call to ACER_WMID_GET_GAMING_SYS_INFO_METHODID fails, the lower
8 bits will be non-zero. Introduce a helper function to check this and
use it when reading gaming system information.
Tested-by: Rayan Margham <rayanmargham4@gmail.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20241210001657.3362-4-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
