Maemo patchset 20101501+0m5
[h-e-n] / drivers / gpio / gpiolib.c
index 82020ab..a4424c8 100644 (file)
@@ -789,6 +789,7 @@ int gpio_request(unsigned gpio, const char *label)
        } else {
                status = -EBUSY;
                module_put(chip->owner);
+               goto done;
        }
 
        if (chip->request) {