diff options
| author | Hans de Goede <[email protected]> | 2022-05-02 11:12:34 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2022-05-03 15:01:53 +0000 |
| commit | 34f243e9fb5ace1ca760c72e366247eaeff430c0 (patch) | |
| tree | dd8071d2c18c62b5d166d1c64bf3ed745e992de2 /drivers/platform/x86/intel/pmt/crashlog.c | |
| parent | power: supply: core: Initialize struct to zero (diff) | |
| download | kernel-34f243e9fb5ace1ca760c72e366247eaeff430c0.tar.gz kernel-34f243e9fb5ace1ca760c72e366247eaeff430c0.zip | |
power: supply: axp288_fuel_gauge: Fix battery reporting on the One Mix 1
Commit 3a06b912a5ce ("power: supply: axp288_fuel_gauge: Make "T3 MRD"
no_battery_list DMI entry more generic") added a generic no-battery DMI
match for many mini-PCs / HDMI-sticks which use "T3 MRD" as their DMI
board-name.
It turns out that the One Mix 1 mini laptop also uses "T3 MRD" for its
DMI boardname and it also has its chassis-type wrongly set to a value
of "3" (desktop). This was causing the axp288_fuel_gauge driver to
disable battery reporting because this matches the no-battery DMI
list entry for generic "T3 MRD" mini-PCs.
Change the no-battery DMI list into a quirks DMI list and add a
specific match for the One Mix 1 mini laptop before the generic
"T3 MRD" no-battery quirk entry to fix this.
Fixes: 3a06b912a5ce ("power: supply: axp288_fuel_gauge: Make "T3 MRD" no_battery_list DMI entry more generic")
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/crashlog.c')
0 files changed, 0 insertions, 0 deletions
