mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
power: supply: qti_battery_charger: Change wireless power supply type
Now that the power supply framework has POWER_SUPPLY_TYPE_WIRELESS change the wireless power supply type from MAINS to WIRELESS. This would help android healthd to show "chg=w" rather than "chg=a" in logs when a wireless charger is connected. Change-Id: I871779aa806f775e2cdf1e0994593fc991fe77f9 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
parent
3041e580e8
commit
27cc913580
|
|
@ -774,7 +774,7 @@ static enum power_supply_property wls_props[] = {
|
|||
|
||||
static const struct power_supply_desc wls_psy_desc = {
|
||||
.name = "wireless",
|
||||
.type = POWER_SUPPLY_TYPE_MAINS,
|
||||
.type = POWER_SUPPLY_TYPE_WIRELESS,
|
||||
.properties = wls_props,
|
||||
.num_properties = ARRAY_SIZE(wls_props),
|
||||
.get_property = wls_psy_get_prop,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user