mbox series

[libgpiod,0/3] bindings: fix ordering of releasing of gpiosim resources

Message ID 20250203-fix-gpiosim-in-bindings-v1-0-d2c9e0f3a29d@linaro.org
Headers show
Series bindings: fix ordering of releasing of gpiosim resources | expand

Message

Bartosz Golaszewski Feb. 3, 2025, 1:25 p.m. UTC
Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
instantiated device depends on") uncovered resource management issues in
bindings tests (C++, python and rust). This series addresses them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (3):
      bindings: cxx: tests: disable GPIO simulator before releasing it
      bindings: python: tests: disable device before releasing the bank
      bindings: rust: tests: disable device before dropping the resources

 bindings/cxx/tests/gpiosim.cpp       |  2 +-
 bindings/python/tests/gpiosim/ext.c  | 11 ++++++-----
 bindings/rust/gpiosim-sys/src/sim.rs |  6 ++++++
 3 files changed, 13 insertions(+), 6 deletions(-)
---
base-commit: d6457b28e29a8edadcb619d389878ea99cd4bab4
change-id: 20250203-fix-gpiosim-in-bindings-d6b4e041f653

Best regards,