linux_dsm_epyc7002/drivers/gpio
Mika Westerberg e97f9b5277 gpio/gpio-ich: fix ichx_gpio_check_available() return what callers expect
ichx_gpio_check_available() returns either 0 or -ENXIO depending on whether
the given GPIO is available or not. However, callers of this function treat
the return value as boolean:

	...
	if (!ichx_gpio_check_available(gpio, nr))
		return -ENXIO;

which erroneusly fails when the GPIO is available and not vice versa.

Fix this by making the function return boolean as expected by the callers.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2013-03-02 13:20:21 +00:00
..
devres.c
gpio-74x164.c
gpio-adnp.c
gpio-adp5520.c
gpio-adp5588.c
gpio-amd8111.c
gpio-arizona.c
gpio-bt8xx.c
gpio-clps711x.c
gpio-cs5535.c
gpio-da9052.c
gpio-da9055.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
gpio-davinci.c
gpio-em.c gpio: em: Use irq_domain_add_simple() to fix runtime error 2013-02-14 17:44:37 +01:00
gpio-ep93xx.c
gpio-ge.c
gpio-generic.c
gpio-ich.c gpio/gpio-ich: fix ichx_gpio_check_available() return what callers expect 2013-03-02 13:20:21 +00:00
gpio-it8761e.c
gpio-janz-ttl.c
gpio-ks8695.c
gpio-langwell.c gpio/langwell: cleanup driver 2013-02-05 13:33:30 +00:00
gpio-lpc32xx.c
gpio-lynxpoint.c gpio/lynxpoint: add chipset gpio driver. 2013-02-05 13:33:29 +00:00
gpio-max730x.c
gpio-max732x.c
gpio-max7300.c
gpio-max7301.c
gpio-mc9s08dz60.c
gpio-mc33880.c
gpio-mcp23s08.c
gpio-ml-ioh.c
gpio-mm-lantiq.c
gpio-mpc8xxx.c gpio: mpc8xxx: don't set IRQ_TYPE_NONE when creating irq mapping 2013-02-04 21:41:46 +01:00
gpio-mpc5200.c
gpio-msic.c
gpio-msm-v1.c
gpio-msm-v2.c
gpio-mvebu.c Merge 3.8-rc5 into driver-core-next 2013-01-25 21:06:30 -08:00
gpio-mxc.c
gpio-mxs.c GPIO changes for Linux 3.9 2013-02-26 09:35:29 -08:00
gpio-omap.c gpio: using common order: let 'static const' instead of 'const static' 2013-02-11 22:21:29 +00:00
gpio-palmas.c gpio: palmas: Add support for Palmas GPIO 2013-02-14 00:22:45 +01:00
gpio-pca953x.c gpio: pca953x: use managed resources 2013-01-28 11:17:04 +01:00
gpio-pcf857x.c
gpio-pch.c
gpio-pl061.c gpio: pl061: set initcall level to module init 2013-01-22 10:43:15 +01:00
gpio-pxa.c gpio: pxa: set initcall level to module init 2013-01-25 10:51:12 +01:00
gpio-rc5t583.c
gpio-rdc321x.c
gpio-sa1100.c
gpio-samsung.c arm-soc: cleanups 2013-02-21 14:58:40 -08:00
gpio-sch.c
gpio-sodaville.c
gpio-spear-spics.c gpio: Convert to devm_ioremap_resource() 2013-01-22 11:41:56 -08:00
gpio-sta2x11.c
gpio-stmpe.c
gpio-stp-xway.c gpio: Convert to devm_ioremap_resource() 2013-01-22 11:41:56 -08:00
gpio-sx150x.c
gpio-tc3589x.c
gpio-tegra.c gpio: Convert to devm_ioremap_resource() 2013-01-22 11:41:56 -08:00
gpio-timberdale.c
gpio-tnetv107x.c
gpio-tps6586x.c
gpio-tps65910.c
gpio-tps65912.c
gpio-ts5500.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
gpio-twl4030.c gpio: twl4030: Cache the direction and output states in private data 2013-01-17 11:48:12 +01:00
gpio-twl6040.c
gpio-ucb1400.c
gpio-viperboard.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
gpio-vr41xx.c
gpio-vt8500.c gpio/vt8500: memory cleanup missing 2013-02-11 22:21:29 +00:00
gpio-vx855.c
gpio-wm831x.c
gpio-wm8350.c
gpio-wm8994.c
gpio-xilinx.c
gpiolib-acpi.c gpiolib-acpi: Fix error checks in interrupt requesting 2013-02-04 21:41:47 +01:00
gpiolib-of.c Device tree changes for v3.9 2013-02-20 11:04:46 -08:00
gpiolib.c gpiolib: move comment to right function 2013-03-02 13:20:20 +00:00
Kconfig GPIO changes for Linux 3.9 2013-02-26 09:35:29 -08:00
Makefile GPIO changes for Linux 3.9 2013-02-26 09:35:29 -08:00