msm: hsic: Retry port RESUME if unable to send SOFs within 3ms
Due to h/w bug in hsic controller, interrupts are disabled during resume signalling (~20ms), commit: e404049ae, which may result in below issues 1. Delayed MDP interrupts causing display stutters 2. Since default workqueue disables preemption for 20ms, the kernel scheduler schedules out the worker thread for long time. It results in MDM crash due to delayed response To avoid busy loop, port resume is performed without disabling the interrupts. Due to this if resume time constraint is not met then don't start SOF and retry RESUME after some time. This delay (w/o SOF) lets the device to enter SUSPEND state (after issuing remote wakeup) and followed by RESUME after sometime. Also, Move the resume code to hsic controller driver to avoid changes to ehci upstream code. CRs-Fixed: 383752 Change-Id: Ic4768587bbb9a00d8cf495065ec9e14c46a5c1d4 Signed-off-by:Vamsi Krishna <vskrishn@codeaurora.org> Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment