Commit 015b7da
Bartosz Golaszewski
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: 8bd76b3 ("gpio: sim: lock up configfs that an instantiated device depends on")
Tested-by: Koichiro Den <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>1 parent d6179f6 commit 015b7da
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
| 1031 | + | |
1031 | 1032 | | |
1032 | 1033 | | |
1033 | | - | |
| 1034 | + | |
1034 | 1035 | | |
1035 | 1036 | | |
1036 | 1037 | | |
1037 | 1038 | | |
1038 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1039 | 1043 | | |
1040 | | - | |
1041 | | - | |
| 1044 | + | |
| 1045 | + | |
1042 | 1046 | | |
1043 | | - | |
1044 | | - | |
| 1047 | + | |
1045 | 1048 | | |
1046 | 1049 | | |
1047 | 1050 | | |
| |||
0 commit comments