You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
turns out that the gpio_device* returned by gpio_device_find_by_label()
must be "freed" (or the refcounter decremented) by calling
gpio_device_put(dev).
While fixing that, I refactored the code for getting the GPIO chip's
base number a bit so we don't have to use the (deprecated)
gpio_device_get_chip() anymore.
0 commit comments