On Wed, Nov 22, 2023 at 06:01:23PM +0800, shumingf@xxxxxxxxxxx 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?
Attachment:
signature.asc
Description: PGP signature