Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 081d5841 authored by Nicholas Troast's avatar Nicholas Troast
Browse files

qcom-charger: smb138x-charger: change power supply type to usb parallel



Currently the type of the parallel power supply is
POWER_SUPPLY_TYPE_BATTERY. Change it to POWER_SUPPLY_TYPE_USB_PARALLEL.

Change-Id: Ic7652e43781f39d3137fb55f2fec2423e457fac4
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
parent 7ebe256e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -423,7 +423,7 @@ static int smb138x_parallel_prop_is_writeable(struct power_supply *psy,

static const struct power_supply_desc parallel_psy_desc = {
	.name			= "parallel",
	.type			= POWER_SUPPLY_TYPE_BATTERY,
	.type			= POWER_SUPPLY_TYPE_USB_PARALLEL,
	.properties		= smb138x_parallel_props,
	.num_properties		= ARRAY_SIZE(smb138x_parallel_props),
	.get_property		= smb138x_parallel_get_prop,