mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
0f6dc526558d3c714918e9d9845ed9ebae4904db
- ADSP thread was waiting on a sempaphore to wake up - In case of shutdown when kthread_stop is called, kthread_should_stop - will not be called if thread is not woken up - Solution: Replace semaphore with wait_queue and use - wait_event_interruptible - wake up the thread if either there is a message in the list or - kthread_should_stop is true Bug 2739934 Bug 200560194 Bug 200463529 Change-Id: Iea04e0100248f554076aaed8627d40f5b96df2bf Signed-off-by: Uday Gupta <udayg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2232868 (cherry picked from commit a3a81a984a933a8f580154b76098119427f5e19e) Signed-off-by: Dipesh Gandhi <dipeshg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2238825 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Swati Sachdeva <ssachdeva@nvidia.com> Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided