Re: [PATCH] watchdog: da9062: make restart handler atomic safe

From: Stefan Lengfeld
Date: Tue Jan 14 2020 - 15:20:11 EST


Hi Marco,

On Mon, Jan 13, 2020 at 10:15:21AM +0100, Marco Felsch wrote:
> The restart handler is executed during the shutdown phase which is
> atomic/irq-less. The i2c framework supports atomic transfers since
> commit 63b96983a5dd ("i2c: core: introduce callbacks for atomic
> transfers") but unfortunately the regmap framework doesn't support it
> yet. Hard coding the i2c stuff can be done without worries since the
> DA9062 is an i2c-only device.
>
> Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>

Reviewed-by: Stefan Lengfeld <contact@xxxxxxxxxxxxxxx>

Thanks for picking up the patch and submitting it.

Kind regards,
Stefan