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

Commit a4fe40dc authored by Anomalchik's avatar Anomalchik
Browse files

markw: drivers: power: fix build

parent cacfb3e6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1140,7 +1140,7 @@ out:
static int fg_check_ima_exception(struct fg_chip *chip, bool check_hw_sts)
{
	int rc = 0, ret = 0;
	u8 err_sts, exp_sts = 0, hw_sts = 0;
	u8 err_sts, temp, exp_sts = 0, hw_sts = 0;
    bool run_err_clr_seq = false;

	rc = fg_read(chip, &err_sts,
@@ -1150,8 +1150,6 @@ static int fg_check_ima_exception(struct fg_chip *chip, bool check_hw_sts)
		return rc;
	}

		u8 temp;

		fg_read(chip, &exp_sts,
			chip->mem_base + MEM_INTF_IMA_EXP_STS, 1);
		fg_read(chip, &hw_sts,
+1 −1
Original line number Diff line number Diff line
@@ -4923,7 +4923,7 @@ static void handle_usb_removal(struct smbchg_chip *chip)
		chip->typec_current_ma = 0;
	/* cancel/wait for hvdcp pending work if any */
	cancel_delayed_work_sync(&chip->hvdcp_det_work);
	ssmbchg_relax(chip, PM_DETECT_HVDCP);
	smbchg_relax(chip, PM_DETECT_HVDCP);
	smbchg_change_usb_supply_type(chip, POWER_SUPPLY_TYPE_USB);

	if (chip->parallel.use_parallel_aicl) {