linux-stable/drivers
Peter Griffin 4ce78aa422 mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref
[ Upstream commit e28c28a34e ]

of_parse_phandle() returns a device_node with refcount incremented, which
the callee needs to call of_node_put() on when done. We should only call
of_node_put() when the property argument is provided though as otherwise
nothing has taken a reference on the node.

Fixes: f36e789a1f ("mfd: altera-sysmgr: Add SOCFPGA System Manager")
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240220115012.471689-4-peter.griffin@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:18:37 -04:00
..
accel accel/ivpu: Don't enable any tiles by default on VPU40xx 2024-03-01 13:41:48 +01:00
accessibility
acpi ACPI: scan: Fix device check notification handling 2024-03-26 18:18:21 -04:00
amba
android binder: signal epoll threads of self-work 2024-02-23 09:51:40 +01:00
ata ata: ahci_ceva: fix error handling for Xilinx GT PHY support 2024-03-01 13:41:55 +01:00
atm atm: idt77252: fix a memleak in open_card_ubr0 2024-02-16 19:14:21 +01:00
auxdisplay
base regmap: kunit: Ensure that changed bytes are actually different 2024-03-26 18:17:50 -04:00
bcma
block aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts 2024-03-26 18:18:01 -04:00
bluetooth Bluetooth: btusb: Fix memory leak 2024-03-26 18:18:24 -04:00
bus bus: tegra-aconnect: Update dependency to ARCH_TEGRA 2024-03-26 18:18:14 -04:00
cache cache: ax45mp_cache: Align end size to cache boundary in ax45mp_dma_cache_wback() 2024-03-01 13:41:57 +01:00
cdrom
cdx
char hwrng: starfive - Fix dev_err_probe return error 2024-02-05 20:16:46 +00:00
clk clk: mediatek: mt7981-topckgen: flag SGM_REG_SEL as critical 2024-03-26 18:18:37 -04:00
clocksource
comedi
connector connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared" 2024-02-23 09:51:36 +01:00
counter
cpufreq cpufreq: qcom-hw: add CONFIG_COMMON_CLK dependency 2024-03-26 18:18:14 -04:00
cpuidle
crypto crypto: xilinx - call finalize with bh disabled 2024-03-26 18:18:32 -04:00
cxl cxl/region: Allow out of order assembly of autodiscovered regions 2024-03-26 18:17:52 -04:00
dax
dca
devfreq
dio
dma dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA 2024-03-26 18:18:29 -04:00
dma-buf
dpll dpll: fix dpll_xa_ref_*_del() for multiple registrations 2024-03-26 18:18:25 -04:00
edac
eisa
extcon extcon: fix possible name leak in extcon_dev_register() 2024-02-05 20:17:04 +00:00
firewire firewire: core: use long bus reset on gap count error 2024-03-26 18:17:55 -04:00
firmware firmware: arm_scmi: Fix double free in SMC transport cleanup path 2024-03-26 18:18:16 -04:00
fpga
fsi
gnss
gpio gpiolib: Pass consumer device through to core in devm_fwnode_gpiod_get_index() 2024-03-26 18:18:20 -04:00
gpu drm/tegra: put drm_gem_object ref on error in tegra_fb_create 2024-03-26 18:18:37 -04:00
greybus
hid HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd 2024-03-26 18:18:30 -04:00
hsi
hte
hv
hwmon hwmon: (nct6775) Fix access to temperature configuration registers 2024-03-01 13:41:57 +01:00
hwspinlock
hwtracing
i2c i2c: imx: when being a target, mark the last read as processed 2024-03-01 13:41:59 +01:00
i3c i3c: master: cdns: Update maximum prescaler value for i2c clock 2024-02-05 20:17:03 +00:00
idle
iio iio: pressure: bmp280: Add missing bmp085 to SPI id table 2024-02-23 09:51:42 +01:00
infiniband RDMA/mlx5: Relax DEVX access upon modify commands 2024-03-26 18:17:51 -04:00
input Input: gpio_keys_polled - suppress deferred probe error for gpio 2024-03-26 18:17:56 -04:00
interconnect interconnect: qcom: sm8550: Enable sync_state 2024-02-23 09:51:32 +01:00
iommu iommu: Fix compilation without CONFIG_IOMMU_INTEL 2024-03-26 18:18:25 -04:00
ipack
irqchip irqchip/sifive-plic: Enable interrupt if needed before EOI 2024-03-01 13:41:49 +01:00
isdn
leds leds: trigger: panic: Don't register panic notifier if creating the trigger failed 2024-02-05 20:17:02 +00:00
macintosh
mailbox mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt 2024-02-05 20:17:03 +00:00
mcb
md dm: call the resume method on internal suspend 2024-03-26 18:18:27 -04:00
media media: i2c: imx290: Fix IMX920 typo 2024-03-26 18:18:37 -04:00
memory memory: tegra: Correct DLA client names 2024-03-26 18:18:17 -04:00
memstick
message
mfd mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref 2024-03-26 18:18:37 -04:00
misc misc: open-dice: Fix spurious lockdep warning 2024-03-01 13:41:37 +01:00
mmc mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function 2024-03-26 18:18:21 -04:00
most
mtd mtd: spinand: esmt: Extend IDs to 5 bytes 2024-03-26 18:18:31 -04:00
mux
net nfp: flower: handle acti_netdevs allocation failure 2024-03-26 18:18:27 -04:00
nfc
ntb NTB: fix possible name leak in ntb_register_device() 2024-03-26 18:18:34 -04:00
nubus
nvdimm
nvme nvmet-fc: take ref count on tgtport before delete assoc 2024-03-01 13:41:39 +01:00
nvmem
of of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing 2024-03-06 14:53:54 +00:00
opp OPP: debugfs: Fix warning around icc_get_name() 2024-03-26 18:18:26 -04:00
parisc
parport
pci PCI: Mark 3ware-9650SE Root Port Extended Tags as broken 2024-03-26 18:18:36 -04:00
pcmcia
peci
perf perf: RISCV: Fix panic on pmu overflow handler 2024-03-26 18:17:55 -04:00
phy phy: qcom-qmp-usb: fix v3 offsets data 2024-03-06 14:53:59 +00:00
pinctrl pinctrl: renesas: Allow the compiler to optimize away sh_pfc_pm 2024-03-26 18:18:36 -04:00
platform platform/x86: x86-android-tablets: Fix acer_b1_750_goodix_gpios name 2024-03-26 18:17:53 -04:00
pmdomain pmdomain: qcom: rpmhpd: Drop SA8540P gfx.lvl 2024-03-26 18:18:06 -04:00
pnp
power power: supply: mm8013: select REGMAP_I2C 2024-03-06 14:53:57 +00:00
powercap powercap: dtpm_cpu: Fix error check against freq_qos_add_request() 2024-03-26 18:18:15 -04:00
pps
ps3
ptp
pwm pwm: sti: Fix capture for st,pwm-num-chan < st,capture-num-chan 2024-03-26 18:18:11 -04:00
rapidio
ras
regulator regulator: userspace-consumer: add module device table 2024-03-26 18:18:20 -04:00
remoteproc
reset
rpmsg
rtc rtc: test: Fix invalid format specifier. 2024-03-26 18:18:00 -04:00
s390 s390/dasd: fix double module refcount decrement 2024-03-26 18:17:58 -04:00
sbus
scsi scsi: mpt3sas: Prevent sending diag_reset when the controller is ready 2024-03-26 18:17:55 -04:00
sh
siox
slimbus
soc soc: qcom: llcc: Check return value on Broadcast_OR reg read 2024-03-26 18:18:13 -04:00
soundwire
spi spi: cadence-qspi: add system-wide suspend and resume callbacks 2024-03-26 18:17:54 -04:00
spmi spmi: mediatek: Fix UAF on device remove 2024-02-05 20:17:04 +00:00
ssb
staging media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak 2024-03-26 18:18:35 -04:00
target scsi: target: pscsi: Fix bio_put() for error case 2024-03-01 13:41:46 +01:00
tc
tee
thermal thermal: core: Fix thermal zone suspend-resume synchronization 2024-02-05 20:16:46 +00:00
thunderbolt thunderbolt: Fix setting the CNS bit in ROUTER_CS_5 2024-02-23 09:51:52 +01:00
tty serial: amba-pl011: Fix DMA transmission in RS485 mode 2024-03-01 13:41:49 +01:00
ufs scsi: ufs: Uninitialized variable in ufshcd_devfreq_target() 2024-03-01 13:41:53 +01:00
uio
usb usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-03-01 13:41:50 +01:00
vdpa
vfio
vhost
video fbcon: always restore the old font data in fbcon_do_set_font() 2024-03-06 14:53:53 +00:00
virt
virtio
w1
watchdog watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786 2024-02-05 20:17:01 +00:00
xen xen/events: close evtchn after mapping cleanup 2024-02-23 09:51:57 +01:00
zorro
Kconfig
Makefile