Re: [PATCH 11/12] iio: dac: ad5686: write_raw: use guard(mutex)()

From: Andy Shevchenko

Date: Tue Jun 02 2026 - 15:20:51 EST


On Tue, Jun 02, 2026 at 05:33:58PM +0100, Rodrigo Alencar via B4 Relay wrote:
>
> Use guarded mutex lock to facilitate code review when adding new
> attributes. This will allow for early returns, avoiding error-prone
> locking and unlocking in error paths. Gain-control support will add
> the scale attribute.

You just added one in the previous patch.

--
With Best Regards,
Andy Shevchenko