Re: [PATCH v3] drm/msm/dp: fix event thread stuck in wait_event after kthread_stop()

2022-05-04 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-05-03 09:25:36) > Event thread supposed to exit from its while loop after kthread_stop(). > However there may has possibility that event thread is pending in the > middle of wait_event due to condition checking never become true. > To make sure event thread exit its loop

Re: [PATCH v3] drm/msm/dp: fix event thread stuck in wait_event after kthread_stop()

2022-05-04 Thread Dmitry Baryshkov
On 03/05/2022 19:25, Kuogee Hsieh wrote: Event thread supposed to exit from its while loop after kthread_stop(). However there may has possibility that event thread is pending in the middle of wait_event due to condition checking never become true. To make sure event thread exit its loop after kt

Re: [PATCH v3] drm/msm/dp: fix event thread stuck in wait_event after kthread_stop()

2022-05-04 Thread Dmitry Baryshkov
On 03/05/2022 19:25, Kuogee Hsieh wrote: Event thread supposed to exit from its while loop after kthread_stop(). However there may has possibility that event thread is pending in the middle of wait_event due to condition checking never become true. To make sure event thread exit its loop after kt

[PATCH v3] drm/msm/dp: fix event thread stuck in wait_event after kthread_stop()

2022-05-03 Thread Kuogee Hsieh
Event thread supposed to exit from its while loop after kthread_stop(). However there may has possibility that event thread is pending in the middle of wait_event due to condition checking never become true. To make sure event thread exit its loop after kthread_stop(), this patch OR kthread_should_