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

Commit 3c086986 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb5: Expose QNOVO_ENABLE property"

parents fe1f644a 7749839c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1149,6 +1149,9 @@ static int smb5_batt_get_prop(struct power_supply *psy,
	case POWER_SUPPLY_PROP_RECHARGE_SOC:
		val->intval = chg->auto_recharge_soc;
		break;
	case POWER_SUPPLY_PROP_CHARGE_QNOVO_ENABLE:
		val->intval = 0;
		break;
	default:
		pr_err("batt power supply prop %d not supported\n", psp);
		return -EINVAL;