Re: [PATCH v2 04/26] ASoC: codecs: tas2781: Use guard() for mutex locks

From: Bui Duc Phuc

Date: Mon Jul 27 2026 - 22:12:43 EST


Hi Cezary,

Thank you for your review.

> >
> > /* Codec Lock Hold */
> > - mutex_lock(&tas_priv->codec_lock);
> > + guard(mutex)(&tas_priv->codec_lock);
> > if (event == SND_SOC_DAPM_PRE_PMD)
> > state = 1;
> > tasdevice_tuning_switch(tas_priv, state);
> > - /* Codec Lock Release*/
>
> If you dropped one comment, you might as well drop the "Hold" one too.
> TBH, these were redundant to begin with.
>

I'll address this in the next revision.

Best regards,
Phuc