android_kernel_xiaomi_sm8350/drivers/clk/mediatek
Jiasheng Jiang d1461f0c9c clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
[ Upstream commit 0d6e24b422a2166a9297a8286ff2e6ab9a5e8cd3 ]

Add the check for the return value of mtk_alloc_clk_data() in order to
avoid NULL pointer dereference.

Fixes: e986211827 ("clk: mediatek: Add MT2701 clock support")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20230901024658.23405-1-jiasheng@iscas.ac.cn
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 10:30:11 +01:00
..
clk-apmixed.c
clk-cpumux.c
clk-cpumux.h
clk-gate.c
clk-gate.h
clk-mt2701-aud.c
clk-mt2701-bdp.c
clk-mt2701-eth.c
clk-mt2701-g3d.c
clk-mt2701-hif.c
clk-mt2701-img.c
clk-mt2701-mm.c
clk-mt2701-vdec.c
clk-mt2701.c clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data 2023-11-20 10:30:11 +01:00
clk-mt2712-bdp.c
clk-mt2712-img.c
clk-mt2712-jpgdec.c
clk-mt2712-mfg.c
clk-mt2712-mm.c
clk-mt2712-vdec.c
clk-mt2712-venc.c
clk-mt2712.c
clk-mt6779-aud.c
clk-mt6779-cam.c
clk-mt6779-img.c
clk-mt6779-ipe.c
clk-mt6779-mfg.c
clk-mt6779-mm.c
clk-mt6779-vdec.c
clk-mt6779-venc.c
clk-mt6779.c clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data 2023-11-20 10:30:10 +01:00
clk-mt6797-img.c
clk-mt6797-mm.c
clk-mt6797-vdec.c
clk-mt6797-venc.c
clk-mt6797.c clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data 2023-11-20 10:30:10 +01:00
clk-mt7622-aud.c
clk-mt7622-eth.c
clk-mt7622-hif.c
clk-mt7622.c
clk-mt7629-eth.c clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data 2023-11-20 10:30:11 +01:00
clk-mt7629-hif.c
clk-mt7629.c clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data 2023-11-20 10:30:11 +01:00
clk-mt8135.c
clk-mt8173.c
clk-mt8183-audio.c
clk-mt8183-cam.c
clk-mt8183-img.c
clk-mt8183-ipu0.c
clk-mt8183-ipu1.c
clk-mt8183-ipu_adl.c
clk-mt8183-ipu_conn.c
clk-mt8183-mfgcfg.c
clk-mt8183-mm.c
clk-mt8183-vdec.c
clk-mt8183-venc.c
clk-mt8183.c
clk-mt8516-aud.c
clk-mt8516.c
clk-mtk.c
clk-mtk.h
clk-mux.c
clk-mux.h
clk-pll.c
Kconfig
Makefile
reset.c