Loading drivers/gpio/gpiolib.c +2 −2 Original line number Diff line number Diff line Loading @@ -2131,13 +2131,13 @@ int gpiod_hog(struct gpio_desc *desc, const char *name, local_desc = gpiochip_request_own_desc(chip, hwnum, name); if (IS_ERR(local_desc)) { pr_debug("requesting own GPIO %s failed\n", name); pr_err("requesting own GPIO %s failed\n", name); return PTR_ERR(local_desc); } status = gpiod_configure_flags(desc, name, lflags, dflags); if (status < 0) { pr_debug("setup of GPIO %s failed\n", name); pr_err("setup of GPIO %s failed\n", name); gpiochip_free_own_desc(desc); return status; } Loading Loading
drivers/gpio/gpiolib.c +2 −2 Original line number Diff line number Diff line Loading @@ -2131,13 +2131,13 @@ int gpiod_hog(struct gpio_desc *desc, const char *name, local_desc = gpiochip_request_own_desc(chip, hwnum, name); if (IS_ERR(local_desc)) { pr_debug("requesting own GPIO %s failed\n", name); pr_err("requesting own GPIO %s failed\n", name); return PTR_ERR(local_desc); } status = gpiod_configure_flags(desc, name, lflags, dflags); if (status < 0) { pr_debug("setup of GPIO %s failed\n", name); pr_err("setup of GPIO %s failed\n", name); gpiochip_free_own_desc(desc); return status; } Loading