mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
platform/x86: asus-wmi: Add BATC battery name to the list of supported
The Intel Atom Cherry Trail platform reports a new battery name (BATC). Tested on ASUS Transformer Mini T103HAF. Signed-off-by: Marius Iacob <themariusus@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
8a333dab28
commit
1d2dd379bd
|
|
@ -442,6 +442,7 @@ static int asus_wmi_battery_add(struct power_supply *battery)
|
|||
*/
|
||||
if (strcmp(battery->desc->name, "BAT0") != 0 &&
|
||||
strcmp(battery->desc->name, "BAT1") != 0 &&
|
||||
strcmp(battery->desc->name, "BATC") != 0 &&
|
||||
strcmp(battery->desc->name, "BATT") != 0)
|
||||
return -ENODEV;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user