diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-03 12:01:23 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-05 14:37:01 +0100 |
commit | 015b7dae084fa95465ff89f6cbf15fe49906a370 (patch) | |
tree | e5d419e0ea4543657da4545b9999d5b367f49f88 /scripts/gdb/linux/utils.py | |
parent | d6179f6c6204f9932aed3a7a2100b4a295dfed9d (diff) |
gpio: sim: lock hog configfs items if present
Depending on the user config, the leaf entry may be the hog directory,
not line. Check it and lock the correct item.
Fixes: 8bd76b3d3f3a ("gpio: sim: lock up configfs that an instantiated device depends on")
Tested-by: Koichiro Den <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/20250203110123.87701-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions