Re: [PATCH v2 2/4] ASoC: Intel: avs: Use scoped_guard() for scoped locking
From: Bui Duc Phuc
Date: Fri Jun 19 2026 - 03:06:14 EST
Hi Mark,
Thanks for the review.
> > reinit_completion(&ipc->busy_completion);
> > - spin_unlock(&ipc->rx_lock);
> > goto again;
> > }
> > -
> > - spin_unlock(&ipc->rx_lock);
> > - return -ETIMEDOUT;
> > }
>
> This has a goto from a scoped_guard().
I think converting this code to use `scoped_guard()` is not appropriate here.
I'll leave this function unchanged in the next version.
Best regards,
Phuc