Re: [PATCH v2 2/2] ASoC: meson: gx-formatter: add lockdep_assert_held check
From: Martin Blumenstingl
Date: Thu Nov 12 2026 - 18:46:25 EST
On Wed, Nov 11, 2026 at 11:12 AM Valerio Setti <vsetti@xxxxxxxxxxxx> wrote:
>
> The documentation of 'struct gx_formatter_ops' states that
> formatter's callbacks for enable/disable/prepare are called with the
> spinlock held. Validate this by adding 'lockdep_assert_held()' in
> 'gx_formatter_enable'/'gx_formatter_disable'.
>
> Suggested-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
> Signed-off-by: Valerio Setti <vsetti@xxxxxxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>