[PATCH] ASOC: nau8824: Fix semaphore is released unexpectedly

Mark Brown broonie at kernel.org
Tue Sep 20 01:09:32 CEST 2022


On Thu, 15 Sep 2022 09:28:00 +0800, Wallace Lin wrote:
> From: SJLIN0 <SJLIN0 at nuvoton.com>
> 
> On resuming, we anticipate that the jack is detected before playback
> or capture. Therefore, we use semaphore to control the jack detection
> done without any bothering. During booting, the driver launches jack
> detection and releases the semaphore. However, it doesn't perceive the
> maniputation of semaphore is not like resuming procedure. This makes
> the semaphore's count value become to 2. There is more than one thread
> can enter into the critical section. This may get unexpected situation
> and make some chaos.
> 
> [...]

Applied to

   broonie/sound.git for-linus

Thanks!

[1/1] ASOC: nau8824: Fix semaphore is released unexpectedly
      commit: 7042bde216ada135b2f88423ae714ab9a22e3a22

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


More information about the Alsa-devel mailing list