diff options
| author | Utkarsh Saxena <usaxena@codeaurora.org> | 2017-05-03 14:04:30 +0530 |
|---|---|---|
| committer | Utkarsh Saxena <usaxena@codeaurora.org> | 2017-05-18 16:09:00 +0530 |
| commit | 2931599ee9a0a58e2878a6d1757c1d32c5e11294 (patch) | |
| tree | 52db74b38516d2432efad16ed61c31d275996c5d /scripts/stackusage | |
| parent | c01ba1a5f98de6e2f271cc2e447fe3280920cc16 (diff) | |
msm: ipa: Fix post init in workqueue context
ipa post init is accessed from user space
context from ops structure.
While user space program triggered post init
there could be a chance, where the
user space context may get killed at any time,
due to which the memory allocation in post init
gets failed and in turn which clean up the
IPA driver.
Because the memory allocation of the
sigkill pending process will fail.
Make changes in ops structure write func-pointer to
queue a work instead of directly invoking post init.
So that ipa post init will execute in workqueue context.
Change-Id: Ia11b3a868d960111422c357bcc9924ef7b220e67
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
