Re: [PATCH 06/12] iio: dac: ad5686: consume optional reset signal

From: Andy Shevchenko

Date: Tue Jun 02 2026 - 15:04:22 EST


On Tue, Jun 02, 2026 at 05:33:53PM +0100, Rodrigo Alencar via B4 Relay wrote:

> Add RESET pin GPIO support through an optional reset control, which is
> local to the probe function. Also, include delays for power-up time and
> reset pulse width.

...

> + udelay(5); /* power-up time */
> + reset_control_assert(rstc);
> + udelay(1); /* reset pulse: comfortably bigger than the spec */
> + reset_control_deassert(rstc);

This doesn't seem like an atomic context. Let fsleep() to decide what to do.

--
With Best Regards,
Andy Shevchenko