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

Commit c6c889b9 authored by Sahil Chandna's avatar Sahil Chandna
Browse files

power: qpnp-smb5: Add break statement for a power supply property



Add a break statement for POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION
in get property function for wireless power supply, without which it
will drop through to other power supply property.

Change-Id: If9ed81d8a94aac56dcdbac33d7a26ef92305e936
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
parent 8ca6d749
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1418,6 +1418,7 @@ static int smb5_dc_get_prop(struct power_supply *psy,
		break;
	case POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION:
		rc = smblib_get_prop_voltage_wls_output(chg, val);
		break;
	case POWER_SUPPLY_PROP_DC_RESET:
		val->intval = 0;
		break;