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

Commit 912c88ba authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb1351-charger: Fix the float voltage unit passed to its set method"

parents 06b74968 95fc7d31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1634,7 +1634,7 @@ static int smb1351_parallel_set_property(struct power_supply *psy,
	case POWER_SUPPLY_PROP_VOLTAGE_MAX:
		chip->vfloat_mv = val->intval / 1000;
		if (!chip->parallel_charger_suspended)
			rc = smb1351_float_voltage_set(chip, val->intval);
			rc = smb1351_float_voltage_set(chip, chip->vfloat_mv);
		break;
	default:
		return -EINVAL;