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

Commit 142f3479 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

soc: qcom: pil: Ensure imem is initialized prior to use



Currently, imem is being referenced prior to being initialized,
which causes the imem area to not be written to. Move imem
initialization further up in the init call chain to ensure
that it is initialized before use.

Change-Id: I40fd6df77ffb0771858e168a925ed7ebeeb1ba1e
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 0ba27bd6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2010-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2010-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1177,7 +1177,7 @@ static int __init msm_pil_init(void)
out:
	return register_pm_notifier(&pil_pm_notifier);
}
device_initcall(msm_pil_init);
subsys_initcall(msm_pil_init);

static void __exit msm_pil_exit(void)
{