linux-kernelorg-stable/drivers/mfd
Dan Carpenter 4af66c2bca mfd: ls2kbmc: check for devm_mfd_add_devices() failure
Call pci_disable_device() if devm_mfd_add_devices() fails.

Fixes: 0d64f6d1ff ("mfd: ls2kbmc: Introduce Loongson-2K BMC core driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Message-ID: <e3e7cf2cfded48c9fca8bc981c54bbcb7edb9580.1759478975.git.dan.carpenter@linaro.org>
Signed-off-by: Corey Minyard <corey@minyard.net>
2025-10-03 10:38:23 -05:00
..
88pm80x.c
88pm800.c
88pm805.c
88pm860x-core.c mfd: Fix building without CONFIG_OF 2025-06-19 11:05:30 +01:00
88pm860x-i2c.c
88pm886.c mfd: 88pm886: Add GPADC cell 2025-10-01 10:29:00 +01:00
Kconfig soc: driver updates for 6.18 2025-10-01 17:32:51 -07:00
Makefile mfd: ls2kbmc: Introduce Loongson-2K BMC core driver 2025-10-01 10:28:49 +01:00
aat2870-core.c mfd: aat2870: Use per-client debugfs directory 2025-05-22 15:49:58 +01:00
ab8500-core.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
ab8500-sysctrl.c
abx500-core.c
ac100.c
acer-ec-a500.c
act8945a.c
adp5520.c
adp5585.c mfd: adp5585: Drop useless return statement 2025-10-01 10:28:03 +01:00
altera-a10sr.c
altera-sysmgr.c
arizona-core.c
arizona-i2c.c
arizona-irq.c mfd: arizona: Make legacy gpiolib interface optional 2025-10-01 10:28:24 +01:00
arizona-spi.c
arizona.h
as3711.c
as3722.c mfd: as3722: Fix wakeup source leaks on device unbind 2025-05-23 08:49:07 +01:00
at91-usart.c
atc260x-core.c
atc260x-i2c.c
atmel-flexcom.c
atmel-hlcdc.c
atmel-smc.c mfd: syscon: atmel-smc: Don't use "proxy" headers 2025-07-24 11:27:15 +01:00
axp20x-i2c.c
axp20x-rsb.c
axp20x.c mfd: axp20x: Set explicit ID for regulator cell if no IRQ line is present 2025-07-24 11:27:19 +01:00
bcm590xx.c mfd: bcm590xx: Add PMU ID/revision parsing function 2025-05-22 10:57:00 +01:00
bcm2835-pm.c
bd9571mwv.c
bq257xx.c mfd: bq257xx: Add support for BQ25703A core driver 2025-09-11 15:54:43 +01:00
cgbc-core.c mfd: cgbc-core: Add support for conga-SA8 2025-03-21 11:34:08 +00:00
cros_ec_dev.c mfd: cros_ec: Separate charge-control probing from USB-PD 2025-07-24 11:26:54 +01:00
cs40l50-core.c mfd: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-30 08:16:43 +01:00
cs40l50-i2c.c
cs40l50-spi.c
cs42l43-i2c.c
cs42l43-sdw.c
cs42l43.c mfd: cs42l43: Remove IRQ masking in suspend 2025-10-01 10:28:56 +01:00
cs42l43.h
cs47l15-tables.c
cs47l24-tables.c
cs47l35-tables.c
cs47l85-tables.c
cs47l90-tables.c
cs47l92-tables.c
cs5535-mfd.c
da903x.c
da9052-core.c
da9052-i2c.c
da9052-irq.c
da9052-spi.c
da9055-core.c
da9055-i2c.c
da9062-core.c
da9063-core.c
da9063-i2c.c mfd: da9063: Split chip variant reading in two bus transactions 2025-10-01 10:28:18 +01:00
da9063-irq.c
da9150-core.c
db8500-prcmu-regs.h
db8500-prcmu.c mfd: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
dln2.c
ene-kb3930.c mfd: ene-kb3930: Fix a potential NULL pointer dereference 2025-03-14 08:59:07 +00:00
exynos-lpass.c mfd: Remove unneeded 'fast_io' parameter in regmap_config 2025-10-01 10:28:26 +01:00
ezx-pcap.c mfd: ezx-pcap: Remove unused pcap_adc_sync 2025-03-14 08:59:07 +00:00
fsl-imx25-tsadc.c mfd: Remove unneeded 'fast_io' parameter in regmap_config 2025-10-01 10:28:26 +01:00
gateworks-gsc.c
hi655x-pmic.c
hi6421-pmic-core.c
hi6421-spmi-pmic.c
intel-lpss-acpi.c
intel-lpss-pci.c mfd: intel-lpss: Add Intel Wildcat Lake LPSS PCI IDs 2025-10-01 10:29:01 +01:00
intel-lpss.c PM: sleep: Use DPM_FLAG_SMART_SUSPEND conditionally 2025-02-19 13:22:12 +01:00
intel-lpss.h
intel-m10-bmc-core.c
intel-m10-bmc-pmci.c
intel-m10-bmc-spi.c
intel_pmc_bxt.c
intel_quark_i2c_gpio.c
intel_soc_pmic_bxtwc.c
intel_soc_pmic_chtdc_ti.c mfd: intel_soc_pmic_chtdc_ti: Set use_single_read regmap_config flag 2025-10-01 10:28:17 +01:00
intel_soc_pmic_chtwc.c
intel_soc_pmic_crc.c mfd: intel_soc_pmic_crc: Drop unneeded assignment for cache_type 2025-03-14 08:59:05 +00:00
intel_soc_pmic_mrfld.c
ioc3.c MIPS: Update Joshua Kinard's e-mail address 2025-07-28 09:57:24 +02:00
ipaq-micro.c mfd: ipaq-micro/tps65010: Use str_enable_disable-like helpers 2025-03-14 08:59:05 +00:00
iqs62x.c
janz-cmodio.c
kempld-core.c mfd: kempld: Use PTR_ERR_OR_ZERO() to simplify code 2025-10-01 10:28:22 +01:00
khadas-mcu.c
lm3533-core.c
lm3533-ctrlbank.c
lochnagar-i2c.c
loongson-se.c mfd: Add support for Loongson Security Engine chip controller 2025-09-02 12:29:57 +01:00
lp873x.c
lp3943.c
lp8788-irq.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
lp8788.c
lp87565.c
lpc_ich.c
lpc_sch.c
ls2k-bmc-core.c mfd: ls2kbmc: check for devm_mfd_add_devices() failure 2025-10-03 10:38:23 -05:00
macsmc.c mfd: macsmc: Add "apple,t8103-smc" compatible 2025-10-01 10:28:38 +01:00
madera-core.c mfd: madera: Work around false-positive -Wininitialized warning 2025-10-01 10:28:20 +01:00
madera-i2c.c
madera-spi.c
madera.h
max7360.c mfd: Add max7360 support 2025-09-16 15:24:48 +01:00
max8907.c
max8925-core.c mfd: Fix building without CONFIG_OF 2025-06-19 11:05:30 +01:00
max8925-i2c.c mfd: max8925: Fix wakeup source leaks on device unbind 2025-05-23 08:49:11 +01:00
max8997-irq.c mfd: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
max8997.c mfd: max899x: Use dedicated interrupt wake setters 2025-10-01 10:28:23 +01:00
max8998-irq.c mfd: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
max8998.c mfd: max899x: Use dedicated interrupt wake setters 2025-10-01 10:28:23 +01:00
max14577.c mfd: max14577: Fix wakeup source leaks on device unbind 2025-05-23 08:49:08 +01:00
max77541.c mfd: max77541: Fix wakeup source leaks on device unbind 2025-05-23 08:49:09 +01:00
max77620.c mfd: max77620: Allow building as a module 2025-03-14 08:59:07 +00:00
max77650.c
max77686.c
max77693.c
max77705.c power supply and reset changes for the 6.18 series 2025-10-01 13:02:59 -07:00
max77714.c
max77759.c mfd: max77759: Add Maxim MAX77759 core driver 2025-05-09 15:22:30 +01:00
max77843.c
mc13xxx-core.c
mc13xxx-i2c.c
mc13xxx-spi.c
mc13xxx.h
mcp-core.c
mcp-sa11x0.c
menelaus.c
menf21bmc.c
mfd-core.c mfd: core: Increment of_node's refcount before linking it to the platform device 2025-10-01 10:28:37 +01:00
motorola-cpcap.c
mp2629.c
mt6358-irq.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
mt6360-core.c
mt6370.c mfd: mt6370: Fix the interrupt naming typo 2025-07-24 11:27:18 +01:00
mt6370.h mfd: mt6370: Fix the interrupt naming typo 2025-07-24 11:27:18 +01:00
mt6397-core.c mfd: mt6397: Do not use generic name for keypad sub-devices 2025-07-24 11:27:20 +01:00
mt6397-irq.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
mxs-lradc.c
nct6694.c mfd: Add core driver for Nuvoton NCT6694 2025-09-16 14:41:57 +01:00
ntxec.c
ocelot-core.c
ocelot-spi.c
ocelot.h
omap-usb-host.c
omap-usb-tll.c
omap-usb.h
palmas.c
qcom-pm8xxx.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
qcom-pm8008.c
qcom-spmi-pmic.c
qcom_rpm.c
qnap-mcu.c mfd: qnap-mcu: Improve structure in qnap_mcu_exec 2025-10-01 10:28:16 +01:00
rave-sp.c
rc5t583-irq.c
rc5t583.c
rdc321x-southbridge.c
retu-mfd.c
rk8xx-core.c mfd: rk8xx-core: Allow to customize RK806 reset mode 2025-07-24 11:27:17 +01:00
rk8xx-i2c.c
rk8xx-spi.c
rn5t618.c
rohm-bd718x7.c
rohm-bd9576.c
rohm-bd71828.c mfd: bd71828, bd71815: Prepare for power-supply support 2025-10-01 10:28:47 +01:00
rohm-bd96801.c mfd: bd96801: Support ROHM BD96806 2025-04-24 14:53:13 +01:00
rsmu.h
rsmu_core.c
rsmu_i2c.c
rsmu_spi.c
rt4831.c
rt5033.c mfd: rt5033: Fix wakeup source leaks on device unbind 2025-05-23 08:49:12 +01:00
rt5120.c
rz-mtu3.c mfd: rz-mtu3: Fix MTU5 NFCR register offset 2025-10-01 10:28:58 +01:00
rz-mtu3.h
sec-acpm.c mfd: sec: Add support for S2MPG10 PMIC 2025-05-23 08:48:27 +01:00
sec-common.c mfd: sec: Add myself as module author 2025-05-23 08:48:50 +01:00
sec-core.h mfd: sec: Change device_type to int 2025-05-23 08:48:44 +01:00
sec-i2c.c mfd: sec: Add myself as module author 2025-05-23 08:48:50 +01:00
sec-irq.c mfd: sec-irq: Convert to using REGMAP_IRQ_REG() macros 2025-05-23 08:48:49 +01:00
si476x-cmd.c
si476x-i2c.c
si476x-prop.c
simple-mfd-i2c.c mfd: simple-mfd-i2c: Add compatible string for LX2160ARDB 2025-10-01 10:46:00 +01:00
simple-mfd-i2c.h
sky81452.c
sm501.c treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
smpro-core.c
sprd-sc27xx-spi.c mfd: sprd-sc27xx: Fix wakeup source leaks on device unbind 2025-05-23 08:49:13 +01:00
ssbi.c
stm32-lptimer.c mfd: Remove unneeded 'fast_io' parameter in regmap_config 2025-10-01 10:28:26 +01:00
stm32-timers.c mfd: stm32-timers: Fix build warnings about export.h 2025-07-24 11:27:01 +01:00
stmfx.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
stmpe-i2c.c gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
stmpe-spi.c gpio updates for v6.18-rc1 2025-10-01 11:34:12 -07:00
stmpe.c MFD for v6.18 2025-10-01 12:04:12 -07:00
stmpe.h
stpmic1.c
stw481x.c
sun4i-gpadc.c mfd: Remove unneeded 'fast_io' parameter in regmap_config 2025-10-01 10:28:26 +01:00
sun6i-prcm.c
syscon.c * Maxim MAX77705: 2025-03-29 14:33:13 -07:00
tc3589x.c mfd: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
ti-lmu.c
ti_am335x_tscadc.c
timberdale.c
timberdale.h
tps6105x.c
tps6507x.c
tps6586x.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
tps6594-core.c mfd: tps6594: Explicitly include bitfield.h 2025-09-11 16:06:02 +01:00
tps6594-i2c.c mfd: tps6594: Add TI TPS652G1 support 2025-07-10 09:58:01 +01:00
tps6594-spi.c mfd: tps6594: Add TI TPS652G1 support 2025-07-10 09:58:01 +01:00
tps65010.c treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
tps65086.c
tps65090.c
tps65217.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
tps65218.c
tps65219.c mfd: tps65219: Remove another unused field from 'struct tps65219' 2025-07-24 11:27:09 +01:00
tps65910.c
tps65911-comparator.c
tps65912-core.c
tps65912-i2c.c
tps65912-spi.c
tqmx86.c
twl-core.c
twl-core.h
twl4030-audio.c
twl4030-irq.c mfd: Fix building without CONFIG_OF 2025-06-19 11:05:30 +01:00
twl4030-power.c
twl6030-irq.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
twl6040.c mfd: Constify reg_sequence and regmap_irq 2025-07-24 11:26:55 +01:00
ucb1x00-assabet.c
ucb1x00-core.c treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
ucb1x00-ts.c
upboard-fpga.c mfd: upboard-fpga: Remove ACPI_PTR() annotation 2025-03-14 08:59:06 +00:00
vexpress-sysreg.c mfd: vexpress-sysreg: Use more common syntax for compound literals 2025-10-01 10:28:59 +01:00
viperboard.c
vx855.c
wcd934x.c
wl1273-core.c
wm97xx-core.c
wm831x-auxadc.c
wm831x-core.c
wm831x-i2c.c
wm831x-irq.c mfd: Use dev_fwnode() instead of of_fwnode_handle() 2025-07-24 11:27:02 +01:00
wm831x-otp.c
wm831x-spi.c
wm5102-tables.c
wm5110-tables.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c
wm8994-core.c
wm8994-irq.c mfd: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
wm8994-regmap.c
wm8994.h
wm8997-tables.c
wm8998-tables.c