Skip to content

Commit

Permalink
Fix gpio-littlewire
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigFisher committed Oct 8, 2016
1 parent 3c38d40 commit 14b43ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpio-littlewire/src/gpio-littlewire.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ lw_usb_probe(struct usb_interface *interface, const struct usb_device_id *id)
lwgc->gpio_chip.ngpio = GEN_LW_NUMBER_GPIOS;
lwgc->gpio_chip.names = lw_gpio_names, lwgc->gpio_chip.can_sleep = 1;
lwgc->gpio_chip.owner = THIS_MODULE;
rc = gpiochip_add(&lwgc->gpio_chip);
// rc = gpiochip_add(&lwgc->gpio_chip);

if (rc) {
dev_err(&interface->dev, "Failed writing: %d\n", rc);
Expand Down

0 comments on commit 14b43ed

Please sign in to comment.