Re: [PATCH v8 2/5] iio: dac: mcp47feb02: protect EEPROM store sequence with mutex

From: Joshua Crofts

Date: Thu Sep 24 2026 - 09:25:00 EST


On Thu, 24 Sep 2026 15:59:20 +0300
Ariana Lazar <ariana.lazar@xxxxxxxxxxxxx> wrote:

> Move the mutex lock into store_eeprom_store() to prevent race conditions
> when reading volatile registers and writing them to the EEPROM.
>
> Fixes: bf394cc80369 ("iio: dac: adding support for Microchip MCP47FEB02")
> Closes: https://lore.kernel.org/all/20260819125128.970911F000E9@xxxxxxxxxxxxxxx/
> Signed-off-by: Ariana Lazar <ariana.lazar@xxxxxxxxxxxxx>
> ---

You're missing a Reported-by tag for Sashiko, but perhaps Jonathan can
add it when applying.

Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>

--
Kind regards,
Joshua Crofts