freebsd-src/sys/dev/gpio
Justin Hibbits d7661890ef gpiopower: Fix failure case for attach
Summary:
We really should be checking the return value of
ofw_gpiobus_parse_gpios_impl, not the value of sc_pins, which isn't
changed on failure.

Reported by:	alfredo@

Reviewers: #powerpc, alfredo

Reviewed By: #powerpc, alfredo

Subscribers: imp, loos

Differential Revision: https://reviews.freebsd.org/D34571
2022-03-15 19:16:17 -05:00
..
dwgpio
bytgpio.c
chvgpio.c
chvgpio_reg.h
gpio_if.m Fix some common typos in comments 2021-08-08 10:16:06 +02:00
gpiobacklight.c
gpiobus.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
gpiobus_if.m Fix some common typos in comments 2021-08-08 10:16:06 +02:00
gpiobusvar.h
gpioc.c gpioc_detach: fix freeing of wrong pointers 2021-03-23 12:45:18 +02:00
gpioiic.c Revert "Define PNP info after defining driver modules" 2021-01-23 10:59:41 -05:00
gpiokeys.c
gpiokeys.h
gpiokeys_codes.c gpiokeys: Use the new device-tree vendor include 2021-01-15 20:07:24 +01:00
gpioled.c
gpioled_fdt.c gpioled: allow the driver to be disabled via fdt 2021-11-06 19:21:05 +02:00
gpiomdio.c
gpiopower.c gpiopower: Fix failure case for attach 2022-03-15 19:16:17 -05:00
gpiopps.c Make device_busy/unbusy work w/o Giant held 2021-11-30 15:18:01 -07:00
gpioregulator.c
gpiospi.c
gpioths.c Revert "Define PNP info after defining driver modules" 2021-01-23 10:59:41 -05:00
ofw_gpiobus.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
pl061.c
pl061.h
pl061_acpi.c
pl061_fdt.c
qoriq_gpio.c Introduce qoriq_gpio_pic driver 2021-11-06 09:08:45 +01:00
qoriq_gpio.h qoriq_gpio: Add support for driver inheritance 2021-11-06 09:08:45 +01:00