sound/soc/meson/gx-formatter.c | 26 +++++++++++++++----------- sound/soc/meson/gx-formatter.h | 4 ++++ sound/soc/meson/gx-interface.h | 3 ++- 3 files changed, 21 insertions(+), 12 deletions(-)
Patch 1 fixes a pre-existing bugs, present since v7.3, reported by
Sashiko [1] while reviewing the series adding I2S input support for
Amlogic GX SoCs [2].
[2] depends on patch 1 to address Sashiko's comment.
Patch 2 adds a hardening check suggested by Martin while reviewing v1.
[1] https://lore.kernel.org/all/sashiko-outbox-176054@kernel.org/
[2] https://lore.kernel.org/all/20261018-audin-v5-0-4b8cc13a1b22@baylibre.com/
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
---
Changes in v2:
- Moved 'gx_formatter_disable()' under the spinlock guard in
'gx_formatter_detach'. [Martin]
- Added a new commit to introduce the 'lockdep_assert_held' check before
calling formatter's prepare/enable/disable callbacks. [Martin]
- Link to v1: https://patch.msgid.link/20261021-gx-formatter-use-spinlock-v1-1-71ebc9224c03@baylibre.com
To: Jerome Brunet <jbrunet@baylibre.com>
To: Liam Girdwood <lgirdwood@gmail.com>
To: Mark Brown <broonie@kernel.org>
To: Jaroslav Kysela <perex@perex.cz>
To: Takashi Iwai <tiwai@suse.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
To: Kevin Hilman <khilman@baylibre.com>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: Valerio Setti <vsetti@baylibre.com>
Cc: linux-sound@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-amlogic@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
Valerio Setti (2):
ASoC: meson: gx-formatter: change stream lock from mutex to spinlock
ASoC: meson: gx-formatter: add lockdep_assert_held check
sound/soc/meson/gx-formatter.c | 26 +++++++++++++++-----------
sound/soc/meson/gx-formatter.h | 4 ++++
sound/soc/meson/gx-interface.h | 3 ++-
3 files changed, 21 insertions(+), 12 deletions(-)
---
base-commit: c03c1a14507dfaf8b856c2608f9ac216021fc222
change-id: 20261021-gx-formatter-use-spinlock-289b3e2e46df
Best regards,
--
Valerio Setti <vsetti@baylibre.com>
On Wed, 11 Nov 2026 11:12:47 +0100, Valerio Setti wrote:
> ASoC: meson: gx-formatter: change stream lock from mutex to spinlock
>
> Patch 1 fixes a pre-existing bugs, present since v7.3, reported by
> Sashiko [1] while reviewing the series adding I2S input support for
> Amlogic GX SoCs [2].
> [2] depends on patch 1 to address Sashiko's comment.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.4
Thanks!
[1/2] ASoC: meson: gx-formatter: change stream lock from mutex to spinlock
https://git.kernel.org/broonie/sound/c/0bd345a04dc4
[2/2] ASoC: meson: gx-formatter: add lockdep_assert_held check
https://git.kernel.org/broonie/sound/c/e38a24552453
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
On mer. 11 nov. 2026 at 11:12, Valerio Setti <vsetti@baylibre.com> wrote: > Patch 1 fixes a pre-existing bugs, present since v7.3, reported by > Sashiko [1] while reviewing the series adding I2S input support for > Amlogic GX SoCs [2]. > [2] depends on patch 1 to address Sashiko's comment. > > Patch 2 adds a hardening check suggested by Martin while reviewing v1. > > [1] https://lore.kernel.org/all/sashiko-outbox-176054@kernel.org/ > [2] https://lore.kernel.org/all/20261018-audin-v5-0-4b8cc13a1b22@baylibre.com/ > > Signed-off-by: Valerio Setti <vsetti@baylibre.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
© 2016 - 2026 Red Hat, Inc.