aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPetr Štetiar <[email protected]>2015-11-27 10:56:34 +0000
committerBjorn Helgaas <[email protected]>2015-12-04 20:05:05 +0000
commit5c5fb40de8f14391a1238db05cef88754faf9229 (patch)
tree322fe29af7fcae87e0f52ff9802f1635bf383352 /net/unix/af_unix.c
parentPCI: imx6: Use gpio_set_value_cansleep() (diff)
downloadkernel-5c5fb40de8f14391a1238db05cef88754faf9229.tar.gz
kernel-5c5fb40de8f14391a1238db05cef88754faf9229.zip
PCI: imx6: Add support for active-low reset GPIO
We previously used of_get_named_gpio(), which ignores the OF flags cell, so the reset GPIO defaulted to "active high." This doesn't work on the Toradex Apalis SoM with Ixora base board, which has an active-low reset GPIO. Use devm_gpiod_get_optional() instead so we pay attention to the active high/low flag. This also adds support for GPIOs described via ACPI. [bhelgaas: changelog] Signed-off-by: Petr Štetiar <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Lucas Stach <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions