22 Nov
2023
22 Nov
'23
12:17 p.m.
On Wed, Nov 22, 2023 at 06:01:23PM +0800, shumingf@realtek.com wrote:
This patch adds the jd_mutex to protect the jack detection control flow. And only the headset type could check the button status.
What's the protection here for - as far as I can see the mutex is only taken in the jack detection work function which should only ever have one copy running at once by virtue of being a single work function?