android_kernel_sony_sdm845/drivers/clk
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yang Yingliang 7f63d978b1 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
[ Upstream commit f58ca215cda1975f77b2b762903684a3c101bec9 ]

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

Fixes: 7a6fca879f ("clk: sunxi: Add driver for A80 MMC config clocks/resets")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220421134308.2885094-1-yangyingliang@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-12 12:14:55 +02:00
..
at91 clk: at91: clk-main: update key before writing AT91_CKGR_MOR 2020-10-29 09:05:39 +01:00
axis
axs10x clk/axs10x: Clear init field in driver probe 2017-10-08 10:26:04 +02:00
bcm clk: bcm2835: add missing release if devm_clk_hw_register fails 2020-10-29 09:05:40 +01:00
berlin clk: berlin: Pass correct type to hw provider registration 2016-11-16 11:04:17 -08:00
h8300
hisilicon reset: hisilicon: fix potential NULL pointer dereference 2018-11-21 09:26:00 +01:00
imx clk: vf610: fix refcount leak in vf610_clocks_init() 2020-01-29 10:24:08 +01:00
ingenic clk: ingenic: Fix doc of ingenic_cgu_div_info 2019-03-23 13:19:49 +01:00
keystone
loongson1 clk: loongson1: Terminate clk_div_table with sentinel element 2022-04-20 09:06:36 +02:00
mediatek clk: mediatek: add the option for determining PLL source clock 2017-12-20 10:07:29 +01:00
meson clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL 2021-03-03 17:44:36 +01:00
microchip
mmp clk: mmp2: Fix the order of timer mux parents 2020-02-05 13:05:49 +00:00
mvebu clk: kirkwood: Fix a clocking boot regression 2021-09-22 11:43:02 +02:00
mxs
nxp clk: lpc32xx: add a quirk for PWM and MS clock dividers 2017-04-12 12:41:15 +02:00
pistachio
pxa clk: pxa: fix one of the pxa RTC clocks 2020-01-04 13:40:55 +01:00
qcom clk: qcom: clk-rcg2: Update the frac table for pixel clock 2022-04-20 09:06:36 +02:00
renesas clk: renesas: cpg-mssr: Stop using printk format %pCr 2018-07-03 11:23:06 +02:00
rockchip clk: rockchip: Fix initialization of mux_pll_src_4plls_p 2020-09-23 08:46:15 +02:00
samsung clk: exynos7: Mark aclk_fsys1_200 as critical 2021-05-22 10:40:33 +02:00
sirf clk: clk-atlas6: fix return value check in atlas6_clk_init() 2020-08-21 11:02:10 +02:00
socfpga clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return 2021-05-22 10:40:17 +02:00
spear
st clk: clk-flexgen: fix clock-critical handling 2020-06-30 15:38:22 -04:00
sunxi clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() 2022-05-12 12:14:55 +02:00
sunxi-ng clk: sunxi-ng: sun8i-a23: Enable PLL-MIPI LDOs when ungating it 2020-01-29 10:24:13 +01:00
tegra clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver 2022-04-20 09:06:37 +02:00
ti clk: ti: Fix memleak in ti_fapll_synth_setup 2020-12-29 13:45:01 +01:00
uniphier clk: uniphier: Fix fixed-rate initialization 2022-04-20 09:06:28 +02:00
ux500
versatile
x86
zte clk: zx296718: register driver earlier with core_initcall 2016-09-23 14:42:13 -07:00
zynq
clk-asm9260.c
clk-axi-clkgen.c clk: axi-clkgen: Correctly handle nocount bit in recalc_rate() 2018-03-24 11:00:26 +01:00
clk-axm5516.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c clk: clps711x: Terminate clk_div_table with sentinel element 2022-04-20 09:06:36 +02:00
clk-composite.c
clk-conf.c clk: Fix __set_clk_rates error print-string 2018-04-13 19:48:16 +02:00
clk-cs2000-cp.c
clk-devres.c
clk-divider.c
clk-efm32gg.c clk: efm32gg: Pass correct type to hw provider registration 2016-11-16 11:08:55 -08:00
clk-fixed-factor.c clk: fixed-factor: fix of_node_get-put imbalance 2018-11-27 16:09:39 +01:00
clk-fixed-rate.c clk: fixed-rate: fix of_node_get-put imbalance 2018-11-27 16:09:38 +01:00
clk-fractional-divider.c
clk-gate.c
clk-gpio.c
clk-highbank.c clk: highbank: fix refcount leak in hb_clk_init() 2020-01-29 10:24:07 +01:00
clk-max77686.c clk: max77686: fix number of clocks setup for clk_hw based registration 2016-10-17 15:31:59 -07:00
clk-mb86s7x.c
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-nspire.c
clk-oxnas.c
clk-palmas.c
clk-pwm.c
clk-qoriq.c clk: qoriq: fix refcount leak in clockgen_init() 2020-01-29 10:24:07 +01:00
clk-rk808.c clk: rk808: Pass the right pointer as the get_hw context 2016-09-09 11:07:07 -07:00
clk-s2mps11.c clk: s2mps11: Fix a resource leak in error handling paths in the probe function 2020-12-29 13:45:02 +01:00
clk-scpi.c clk: scpi: fix return type of __scpi_dvfs_round_rate 2018-04-13 19:48:15 +02:00
clk-si514.c
clk-si570.c
clk-si5351.c clk: si5351: Rename internal plls to avoid name collisions 2018-03-24 11:00:26 +01:00
clk-si5351.h
clk-stm32f4.c
clk-tango4.c
clk-twl6040.c clk: clk-twl6040: Fix imprecise external abort for pdmclk 2019-03-23 13:19:49 +01:00
clk-u300.c
clk-vt8500.c
clk-wm831x.c clk: clk-wm831x: fix a logic error 2017-01-12 11:39:27 +01:00
clk-xgene.c clk: xgene: Don't call __pa on ioremaped address 2016-10-28 11:03:47 -07:00
clk.c clk: fix invalid usage of list cursor in unregister 2021-04-16 11:59:08 +02:00
clk.h
clkdev.c ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration 2017-01-15 13:42:57 +01:00
Kconfig clk: uniphier: add core support code for UniPhier clock driver 2016-09-16 16:31:33 -07:00
Makefile clk: Make x86/ conditional on CONFIG_COMMON_CLK 2017-05-14 14:00:17 +02:00