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

Commit 67f319a0 authored by Sahil Chandna's avatar Sahil Chandna Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-fg-gen3: Fix FG shutdown path



Remove cleanup functionality from FG shutdown hook as there is a
possibility of resources being used as part of power_supply callbacks
during reboot/shutdown.

Change-Id: I5f1f4528664c5917536de037fc4045f0f6da08dd
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
parent 86ffaf1e
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -5963,8 +5963,6 @@ static void fg_gen3_shutdown(struct platform_device *pdev)
		if (rc < 0)
		if (rc < 0)
			pr_err("Error in disabling FG resets rc=%d\n", rc);
			pr_err("Error in disabling FG resets rc=%d\n", rc);
	}
	}

	fg_cleanup(chip);
}
}


static const struct of_device_id fg_gen3_match_table[] = {
static const struct of_device_id fg_gen3_match_table[] = {