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

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

Merge "power: smb5-lib: Query FLASH_TRIGGER only for PMI632"

parents 5bb69be3 9259dd4f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1283,6 +1283,8 @@ static int smb5_usb_main_get_prop(struct power_supply *psy,
		val->intval = chg->flash_active;
		break;
	case POWER_SUPPLY_PROP_FLASH_TRIGGER:
		val->intval = 0;
		if (chg->chg_param.smb_version == PMI632_SUBTYPE)
			rc = schgm_flash_get_vreg_ok(chg, &val->intval);
		break;
	case POWER_SUPPLY_PROP_TOGGLE_STAT: