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

2022-05-03 Thread Kuogee Hsieh
On 5/2/2022 6:13 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-05-02 16:04:28) 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.

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

2022-05-02 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-05-02 16:04:28) > 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

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

2022-05-02 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