Skip to content

Commit 520670d

Browse files
committed
hack: gpiolib: yes we have drivers stomping on each other, we need to find a better way to share gpio...
Signed-off-by: Robert Nelson <[email protected]>
1 parent b1e42eb commit 520670d

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
@@ -2687,10 +2687,10 @@ static int gpiod_request_commit(struct gpio_desc *desc, const char *label)
26872687
if (test_and_set_bit(FLAG_REQUESTED, &desc->flags) == 0) {
26882688
desc_set_label(desc, label ? : "?");
26892689
ret = 0;
2690-
} else {
2691-
kfree_const(label);
2692-
ret = -EBUSY;
2693-
goto done;
2690+
// } else {
2691+
// kfree_const(label);
2692+
// ret = -EBUSY;
2693+
// goto done;
26942694
}
26952695

26962696
if (chip->request) {

0 commit comments

Comments
 (0)