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

Commit f850df0b authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5: Make DC CURRENT_MAX writeable



Allow userspace to set the DCIN ICL value.

Change-Id: I1d6a92616883fa57760772e57d96a9843ee92a2e
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent da31b091
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1499,6 +1499,7 @@ static int smb5_dc_prop_is_writeable(struct power_supply *psy,
{
	switch (psp) {
	case POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION:
	case POWER_SUPPLY_PROP_CURRENT_MAX:
		return 1;
	default:
		break;