diff options
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r-- | drivers/gpio/gpiolib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 35e7aea4222c..42fb2fd24c0c 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c | |||
@@ -789,6 +789,7 @@ int gpio_request(unsigned gpio, const char *label) | |||
789 | } else { | 789 | } else { |
790 | status = -EBUSY; | 790 | status = -EBUSY; |
791 | module_put(chip->owner); | 791 | module_put(chip->owner); |
792 | goto done; | ||
792 | } | 793 | } |
793 | 794 | ||
794 | if (chip->request) { | 795 | if (chip->request) { |