same problem as here
#15
@jguilfoy solution works but its not pushed to repository
current code is still
gpio *g = libsoc_gpio_request(gpio_id, LS_SHARED);
if (!g)
return rc;
if (!strcmp(direction, "in"))
rc = libsoc_gpio_set_direction(g, INPUT);
else
rc = libsoc_gpio_set_direction(g, OUTPUT);