-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98e6e9b
commit 4254aca
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
projects/Qualcomm/patches/linux/SM8550/0053-battery-name.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff -rupbN linux.orig/drivers/power/supply/qcom_battmgr.c linux/drivers/power/supply/qcom_battmgr.c | ||
--- linux.orig/drivers/power/supply/qcom_battmgr.c 2025-02-26 22:12:21.401682314 +1100 | ||
+++ linux/drivers/power/supply/qcom_battmgr.c 2025-02-26 22:13:44.143270607 +1100 | ||
@@ -638,7 +638,7 @@ static const enum power_supply_property | ||
}; | ||
|
||
static const struct power_supply_desc sc8280xp_bat_psy_desc = { | ||
- .name = "qcom-battmgr-bat", | ||
+ .name = "battery", | ||
.type = POWER_SUPPLY_TYPE_BATTERY, | ||
.properties = sc8280xp_bat_props, | ||
.num_properties = ARRAY_SIZE(sc8280xp_bat_props), | ||
@@ -668,7 +668,7 @@ static const enum power_supply_property | ||
}; | ||
|
||
static const struct power_supply_desc sm8350_bat_psy_desc = { | ||
- .name = "qcom-battmgr-bat", | ||
+ .name = "battery", | ||
.type = POWER_SUPPLY_TYPE_BATTERY, | ||
.properties = sm8350_bat_props, | ||
.num_properties = ARRAY_SIZE(sm8350_bat_props), |