[PATCH] ASoC: rt711/5682: check if bus is active before deferred jack detection

Mark Brown broonie at kernel.org
Fri Apr 8 13:24:10 CEST 2022


On Wed, 6 Apr 2022 14:20:05 -0500, Pierre-Louis Bossart wrote:
> This patch takes a defensive programming and paranoid approach in case
> the parent device (SoundWire) is pm_runtime resumed but the rt711
> device is not. In that case, during the attachment and initialization,
> a jack detection workqueue can be scheduled. Since the pm_runtime
> suspend routines will not be invoked, the sequence to cancel all
> deferred work is not executed, and the jack detection could happen
> after the bus stops operating, leading to a timeout.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: rt711/5682: check if bus is active before deferred jack detection
      commit: 770f3d992a3f7330f801dfeee98429b2885c9fdb

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