diff options
| author | Armin Wolf <[email protected]> | 2024-12-10 00:16:55 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-12-10 14:40:31 +0000 |
| commit | a11d8b37942d3c12a8a5f8ae30cbdeb069e5d819 (patch) | |
| tree | a6762891e2821fb693950f79896fb09d1293c41b /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86: acer-wmi: Rename ACER_CAP_FAN_SPEED_READ (diff) | |
| download | kernel-a11d8b37942d3c12a8a5f8ae30cbdeb069e5d819.tar.gz kernel-a11d8b37942d3c12a8a5f8ae30cbdeb069e5d819.zip | |
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 <[email protected]>
Signed-off-by: Armin Wolf <[email protected]>
Reviewed-by: Kurt Borja <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
