linux-stable/drivers/memory
Krzysztof Kozlowski 7bb63ed881 memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
[ Upstream commit 132c17c3ff ]

clk_set_parent() can fail and ignoring such case could lead to invalid
clock setup for given frequency.

Addresses-Coverity: Unchecked return value
Fixes: 6e7674c3c6 ("memory: Add DMC driver for Exynos5422")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20210407154535.70756-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:19 +02:00
..
samsung memory: samsung: exynos5422-dmc: handle clk_set_parent() failure 2021-05-14 09:50:19 +02:00
tegra ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
atmel-ebi.c memory: atmel-ebi: switch to SPDX license identifiers 2019-11-07 22:33:10 +01:00
atmel-sdramc.c
brcmstb_dpfe.c memory: brcmstb_dpfe: Simplify with dev_err_probe() 2020-09-02 17:22:31 +02:00
bt1-l2-ctl.c memory: bt1-l2-ctl: Add blank lines after declarations 2020-07-27 11:13:33 +02:00
da8xx-ddrctl.c memory: da8xx-ddrctl: Remove unused 'node' variable 2020-07-24 16:18:32 +02:00
emif-asm-offsets.c memory: emif-asm-offsets: Add GPLv2 SPDX license header 2020-07-24 16:18:32 +02:00
emif.c memory: emif: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-20 18:59:19 +02:00
emif.h
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-09-02 17:32:02 +02:00
fsl_ifc.c memory: fsl_ifc: Fix whitespace issues 2020-07-24 16:18:32 +02:00
jedec_ddr.h
jedec_ddr_data.c
jz4780-nemc.c memory: jz4780_nemc: Fix an error pointer vs NULL check in probe() 2020-12-30 11:54:27 +01:00
Kconfig memory: ti-emif-sram: only build for ARMv7 2020-12-30 11:53:37 +01:00
Makefile memory: brcmstb_dpfe: add separate entry for compile test 2020-08-17 20:44:00 +02:00
mtk-smi.c memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops 2021-03-04 11:37:22 +01:00
mvebu-devbus.c memory: mvebu-devbus: Align with open parenthesis 2020-07-27 11:13:33 +02:00
of_memory.c memory: of: Correct kerneldoc 2020-07-27 11:13:33 +02:00
of_memory.h memory: of: Remove unneeded extern from function declarations 2020-07-24 16:18:32 +02:00
omap-gpmc.c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] 2021-05-14 09:50:06 +02:00
pl172.c memory: pl172: Enclose macro argument usage in parenthesis 2020-07-27 11:13:33 +02:00
pl353-smc.c memory: pl353: fix mask of ECC page_size config register 2021-05-14 09:50:14 +02:00
renesas-rpc-if.c memory: renesas-rpc-if: fix possible NULL pointer dereference of resource 2021-05-14 09:50:19 +02:00
stm32-fmc2-ebi.c memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver 2020-07-07 20:58:17 +02:00
ti-aemif.c memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 11:37:25 +01:00
ti-emif-pm.c memory: ti-emif-pm: Fix cast to iomem pointer 2020-07-24 16:18:32 +02:00
ti-emif-sram-pm.S