Skip to content

Commit f4b2756

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpio/gpiolib.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,9 +2033,9 @@ static int __gpiod_request(struct gpio_desc *desc, const char *label)
20332033
if (test_and_set_bit(FLAG_REQUESTED, &desc->flags) == 0) {
20342034
desc_set_label(desc, label ? : "?");
20352035
status = 0;
2036-
} else {
2037-
status = -EBUSY;
2038-
goto done;
2036+
// } else {
2037+
// status = -EBUSY;
2038+
// goto done;
20392039
}
20402040

20412041
if (chip->request) {

0 commit comments

Comments
 (0)