Re: [PATCH] ASoC: rt5650: add mutex to avoid the jack detection failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux