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

Commit af648a58 authored by Sridhar Ancha's avatar Sridhar Ancha
Browse files

msm: ipa: Fix to QMI initialization and polling state



Using a workqueue for initializing QMI functionality
can result in race conditions with cleanup operation
during SSR handling because of scheduling delays.
Make a change to not to use workqueue and initialize
the QMI functionality as part of probe itself.
For polling state, there is a possibility that pipe is
disconnected during switch between poll mode interrupt
mode. This can result in queueing switch_to_intr_work
work multiple times till the pipe is connected and there
is some activity. Make a change to check if the ep is
valid before queuing the work.

Change-Id: Id5a5128edb379308fa91b53062b6773af1b6de18
Acked-by: default avatarChaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: default avatarSridhar Ancha <sancha@codeaurora.org>
parent 602e975c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment