Skip to content

Commit 9b8ff56

Browse files
committed
hack: gpiolib: yes we have drivers stomping on each other...
Signed-off-by: Robert Nelson <[email protected]>
1 parent 613d368 commit 9b8ff56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpio/gpiolib.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,10 +2312,10 @@ static int gpiod_request_commit(struct gpio_desc *desc, const char *label)
23122312
if (test_and_set_bit(FLAG_REQUESTED, &desc->flags) == 0) {
23132313
desc_set_label(desc, label ? : "?");
23142314
status = 0;
2315-
} else {
2316-
kfree_const(label);
2317-
status = -EBUSY;
2318-
goto done;
2315+
// } else {
2316+
// kfree_const(label);
2317+
// status = -EBUSY;
2318+
// goto done;
23192319
}
23202320

23212321
if (chip->request) {

0 commit comments

Comments
 (0)