#14309: gpio_free() / pinctrl doesnt work for ralink trunk
---------------------+----------------------------------
Reporter: info@… | Owner: blogic
Type: defect | Status: assigned
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: kernel | Version: Trunk
Resolution: | Keywords:
---------------------+----------------------------------
Comment (by schildt):
The attached pin offers the "glue code", fixing the unexport/release of a
pin
It is still against the old 3.10 OpenWRT kernel for ramips, but I guess
it should work with the newer kernel too.
Actually to test, no kernel module is needed. In trunk the sequence
{{{
echo 17 > /sys/class/gpio/export
echo 17 > /sys/class/gpio/unexport
echo 17 > /sys/class/gpio/export
}}}
fails at the second export as described in this ticket. With this patch it
works.
--
Ticket URL: <https://dev.openwrt.org/ticket/14309#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets