diff options
| author | Ariana Lazar <ariana.lazar@microchip.com> | 2026-09-24 15:59:20 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-09-28 17:07:36 +0100 |
| commit | 55b0514c2863d01e9b168d8a6ad0040d628fb534 (patch) | |
| tree | db7200a2e01ad586ffe75ba7c3d10f8dc847dbbb /tools/perf/scripts/python | |
| parent | bce5b7e29e72538ba61f76c6d534a58ab3838438 (diff) | |
| download | linux-next-55b0514c2863d01e9b168d8a6ad0040d628fb534.tar.gz linux-next-55b0514c2863d01e9b168d8a6ad0040d628fb534.zip | |
iio: dac: mcp47feb02: protect EEPROM store sequence with mutex
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@smtp.kernel.org/
Reported-by: Sashiko <sashiko-bot@kernel.org>
Signed-off-by: Ariana Lazar <ariana.lazar@microchip.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
