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

Commit ba911348 authored by Sahil Chandna's avatar Sahil Chandna
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 7a6e9213
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -5986,8 +5986,6 @@ static void fg_gen3_shutdown(struct platform_device *pdev)
		if (rc < 0)
			pr_err("Error in disabling FG resets rc=%d\n", rc);
	}

	fg_cleanup(chip);
}

static const struct of_device_id fg_gen3_match_table[] = {