summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cpuidle-tegra20.c
diff options
context:
space:
mode:
authorJosh Cartwright <joshc@codeaurora.org>2014-07-02 13:36:24 -0500
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-04-07 10:26:41 +0100
commitbf2ae3fb98a15e9ca6f947fe3a1ce0706f9ef882 (patch)
tree63df663b5eeef9fad0f29c6c742e96793f218743 /arch/arm/mach-tegra/cpuidle-tegra20.c
parentf58852c588c48cc18904a8b4e5188e40862ecb6e (diff)
smd: perform SMD channel scanning synchronously at probe
When using the board-file probe order optimizations, the following sequence is executed early on kernel boot: - msm_smd_init() - msm_rpm_smd_init() When msm_smd_init() is invoked, it sets up it's data structures and then invokes smd_post_init(), which places the probe work item in the workqueue. However, it's possible that msm_rpm_smd_init() is executed before SMD's probe work is even invoked. In this case, the rpm-smd driver requests access to the 'rpm_requests' channel, but because the SMD channels have yet to be scanned, it does not exist. Workaround this issue by forcing channel scanning to happen immediately in msm_smd_post_init(). Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-tegra20.c')
0 files changed, 0 insertions, 0 deletions