mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
Check if the GPIO device is pending in gpiosim_bank_clear_hog() before
actually trying to remove the hog directory.
Fixes: a2f6e8cd35 ("libgpiosim: new library for controlling the gpio-sim module")
Link: https://lore.kernel.org/r/20251006-gpiosim-valid-lines-v1-2-b399373e90a9@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>