diff options
| author | Mary Strodl <mstrodl@csh.rit.edu> | 2025-10-14 09:35:28 -0400 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-10-21 14:10:45 +0200 |
| commit | 179ef1127d7a4f09f0e741fa9f30b8a8e7886271 (patch) | |
| tree | 6d227f4c160cc23439f6fee18b634b1d61e41ece /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 523ebae1cdcf8056dfe090f31284d1e5f5d1b73f (diff) | |
gpio: mpsse: ensure worker is torn down
When an IRQ worker is running, unplugging the device would cause a
crash. The sealevel hardware this driver was written for was not
hotpluggable, so I never realized it.
This change uses a spinlock to protect a list of workers, which
it tears down on disconnect.
Signed-off-by: Mary Strodl <mstrodl@csh.rit.edu>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20251014133530.3592716-3-mstrodl@csh.rit.edu
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
