WSL2-Linux-Kernel/drivers/iio/adc
Christophe JAILLET b0536f9826 iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'
If 'ad7780_init_gpios()' fails, we must not release some resources that
have not been allocated yet. Return directly instead.

Fixes: 5bb30e7daf ("staging: iio: ad7780: move regulator to after GPIO init")
Fixes: 9085daa4ab ("staging: iio: ad7780: add gain & filter gpio support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Renato Lui Geh <renatogeh@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-07-05 14:22:48 +01:00
..
Kconfig Staging/IIO driver patches for 5.8-rc1 2020-06-07 10:45:08 -07:00
Makefile Staging/IIO driver patches for 5.8-rc1 2020-06-07 10:45:08 -07:00
ab8500-gpadc.c
ad799x.c
ad7091r-base.c
ad7091r-base.h
ad7091r5.c
ad7124.c iio: adc: ad7124: Add direct reg access 2020-03-08 17:28:31 +00:00
ad7192.c iio: adc: ad7192: fix null pointer de-reference crash during probe 2020-04-19 17:50:03 +01:00
ad7266.c
ad7291.c
ad7292.c iio: adc: ad9292: Use new structure for SPI transfer delays 2020-03-08 17:28:44 +00:00
ad7298.c
ad7476.c iio: adc: ad7476: remove redundant null check on an array 2020-05-03 09:47:21 +01:00
ad7606.c
ad7606.h
ad7606_par.c
ad7606_spi.c
ad7766.c
ad7768-1.c
ad7780.c iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()' 2020-07-05 14:22:48 +01:00
ad7791.c iio: Fix misspellings of "Analog Devices" 2020-04-19 16:56:41 +01:00
ad7793.c Merge 5.7-rc3 into staging-next 2020-04-27 12:20:40 +02:00
ad7887.c
ad7923.c
ad7949.c
ad9467.c iio: adc: ad9467: add support AD9467 ADC 2020-04-19 16:56:23 +01:00
ad_sigma_delta.c iio: adc: ad_sigma_delta: Use {get,put}_unaligned_be24() 2020-05-03 09:47:18 +01:00
adi-axi-adc.c iio: adc: adi-axi-adc: Fix object reference counting 2020-07-04 17:05:50 +01:00
aspeed_adc.c
at91-sama5d2_adc.c iio: at91-sama5d2_adc: adjust iio_triggered_buffer_{predisable,postenable} positions 2020-04-25 16:04:19 +01:00
at91_adc.c iio: adc: at91-adc: Use devm_platform_ioremap_resource 2020-04-19 16:56:41 +01:00
axp20x_adc.c
axp288_adc.c
bcm_iproc_adc.c
berlin2-adc.c
cc10001_adc.c
cpcap-adc.c
da9150-gpadc.c
dln2-adc.c
envelope-detector.c
ep93xx_adc.c
exynos_adc.c iio: adc: exynos: Simplify Exynos7-specific init 2020-05-16 17:36:53 +01:00
fsl-imx25-gcq.c iio: adc: fsl-imx25-gcq: Use devm_platform_ioremap_resource 2020-04-19 16:56:41 +01:00
hi8435.c
hx711.c
imx7d_adc.c
ina2xx-adc.c
ingenic-adc.c
intel_mrfld_adc.c iio: adc: intel_mrfld_adc: Use be16_to_cpu() instead of get_unaligned_be16() 2020-03-21 10:27:23 +00:00
lp8788_adc.c
lpc18xx_adc.c
lpc32xx_adc.c
ltc2471.c
ltc2485.c
ltc2496.c
ltc2497-core.c
ltc2497.c
ltc2497.h
max1027.c
max1118.c iio: adc: max1118: Use new structure for SPI transfer delays 2020-03-08 17:28:44 +00:00
max1241.c iio: adc: Add MAX1241 driver 2020-04-19 16:56:31 +01:00
max1363.c iio: adc: max1363: replace uses of mlock 2020-04-19 16:56:13 +01:00
max9611.c
max11100.c
mcp320x.c iio: adc: mcp320x: Use new structure for SPI transfer delays 2020-03-08 17:28:45 +00:00
mcp3422.c iio: adc: mpc3422: Use get_unaligned_beXX() 2020-05-03 09:47:18 +01:00
mcp3911.c
men_z188_adc.c
meson_saradc.c
mp2629_adc.c iio: adc: mp2629: Add support for mp2629 ADC driver 2020-05-26 10:41:47 +01:00
mt6577_auxadc.c
mxs-lradc-adc.c
nau7802.c
npcm_adc.c iio: adc: modify NPCM reset support 2020-02-14 15:06:24 +00:00
palmas_gpadc.c
qcom-pm8xxx-xoadc.c
qcom-spmi-adc5.c
qcom-spmi-iadc.c
qcom-spmi-vadc.c
qcom-vadc-common.c iio: adc: qcom-vadc-common: use <linux/units.h> helpers 2020-01-31 10:30:40 -08:00
qcom-vadc-common.h iio: adc: qcom-vadc-common: use <linux/units.h> helpers 2020-01-31 10:30:40 -08:00
rcar-gyroadc.c
rn5t618-adc.c iio: adc: rn5t618: Add ADC driver for RN5T618/RC5T619 2020-03-27 09:42:37 +00:00
rockchip_saradc.c
sc27xx_adc.c
sd_adc_modulator.c
spear_adc.c
stm32-adc-core.c iio: adc: stm32-adc: fix a wrong error message when probing interrupts 2020-05-22 17:29:25 +01:00
stm32-adc-core.h
stm32-adc.c iio: adc: stm32-adc: fix device used to request dma 2020-05-03 14:15:38 +01:00
stm32-dfsdm-adc.c iio: adc: stm32-dfsdm: fix device used to request dma 2020-05-03 14:16:49 +01:00
stm32-dfsdm-core.c
stm32-dfsdm.h
stmpe-adc.c
stx104.c
sun4i-gpadc-iio.c iio: adc: sun4i-gpadc-iio: Use devm_platform_ioremap_resource 2020-04-19 16:56:40 +01:00
ti-adc081c.c
ti-adc084s021.c
ti-adc108s102.c
ti-adc128s052.c
ti-adc161s626.c
ti-adc0832.c
ti-adc12138.c
ti-ads124s08.c iio: adc: ti-ads124s08: Use get_unaligned_be24() 2020-05-03 09:47:18 +01:00
ti-ads1015.c
ti-ads7950.c
ti-ads8344.c iio: adc: ti-ads8344: Fix channel selection 2020-05-03 14:09:25 +01:00
ti-ads8688.c
ti-tlc4541.c iio: adc: ti-tlc4541: Use new structure for SPI transfer delays 2020-03-08 17:28:45 +00:00
ti_am335x_adc.c
twl4030-madc.c
twl6030-gpadc.c
vf610_adc.c
viperboard_adc.c
xilinx-xadc-core.c Merge 5.7-rc3 into staging-next 2020-04-27 12:20:40 +02:00
xilinx-xadc-events.c iio: xilinx-xadc: Fix typo in author's name 2020-03-21 10:25:35 +00:00
xilinx-xadc.h iio: xilinx-xadc: Fix typo in author's name 2020-03-21 10:25:35 +00:00