1
0
Fork 0
alistair23-linux/drivers/clk/tegra
Dan Carpenter d39eca547f clk: tegra: dfll: Fix a potential Oop in remove()
If tegra_dfll_unregister() fails then "soc" is an error pointer.  We
should just return instead of dereferencing it.

Fixes: 1752c9ee23 ("clk: tegra: dfll: Fix drvdata overwriting issue")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-01-09 10:35:37 -08:00
..
Kconfig clk: tegra: Add BPMP clock driver 2017-02-03 12:36:36 -08:00
Makefile clk: tegra: Add sdmmc mux divider clock 2018-07-25 13:45:09 -07:00
clk-audio-sync.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2018-12-14 13:32:55 -08:00
clk-bpmp.c clk: tegra: bpmp: Don't crash when a clock fails to register 2018-07-08 16:56:24 -07:00
clk-dfll.c clk: tegra: Change to use DEFINE_SHOW_ATTRIBUTE macro 2018-11-28 14:13:18 -08:00
clk-dfll.h clk: tegra: dfll: Fix drvdata overwriting issue 2017-11-01 15:00:06 +01:00
clk-divider.c Merge branches 'clk-imx6-ocram', 'clk-missing-put', 'clk-tegra-sdmmc-jitter', 'clk-allwinner' and 'clk-uniphier' into clk-next 2018-08-14 22:58:53 -07:00
clk-emc.c clk: tegra: emc: Avoid out-of-bounds bug 2018-07-08 17:10:19 -07:00
clk-id.h clk: tegra: make sdmmc2 and sdmmc4 as sdmmc clocks 2018-07-25 14:26:22 -07:00
clk-periph-fixed.c clk: tegra: Add fixed factor peripheral clock type 2016-04-28 12:41:47 +02:00
clk-periph-gate.c clk: tegra: Fix disable unused for clocks sharing enable bit 2017-03-20 14:13:52 +01:00
clk-periph.c clk: tegra: Add peripheral clock registration helper 2017-10-19 16:38:40 +02:00
clk-pll-out.c clk: tegra: Properly include clk.h 2015-07-20 11:11:17 -07:00
clk-pll.c clk: tegra: Return the exact clock rate from clk_round_rate 2018-12-14 13:32:55 -08:00
clk-sdmmc-mux.c clk: tegra: Add sdmmc mux divider clock 2018-07-25 13:45:09 -07:00
clk-super.c clk: tegra: Add super clock mux/divider 2017-03-20 14:07:33 +01:00
clk-tegra-audio.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2018-12-14 13:32:55 -08:00
clk-tegra-fixed.c clk: tegra: Remove trailing blank line 2016-04-28 12:41:45 +02:00
clk-tegra-periph.c clk: tegra: get rid of duplicate defines 2018-12-14 13:32:54 -08:00
clk-tegra-pmc.c clk: tegra: Propagate clk_out_x rate to parent 2017-04-04 16:00:28 +02:00
clk-tegra-super-gen4.c clk: tegra: Mark HCLK, SCLK and EMC as critical 2018-03-12 13:58:58 +01:00
clk-tegra20.c clk: tegra20: Check whether direct PLLM sourcing is turned off for EMC 2018-11-08 12:47:18 +01:00
clk-tegra30.c clk: tegra30: Use Tegra CPU powergate helper function 2018-12-14 13:32:55 -08:00
clk-tegra114.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2018-12-14 13:32:55 -08:00
clk-tegra124-dfll-fcpu.c clk: tegra: dfll: Fix a potential Oop in remove() 2019-01-09 10:35:37 -08:00
clk-tegra124.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2018-12-14 13:32:55 -08:00
clk-tegra210.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2018-12-14 13:32:55 -08:00
clk-utils.c clk: tegra: Refactor fractional divider calculation 2018-07-25 13:43:34 -07:00
clk.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
clk.h clk: tegra: Fix maximum audio sync clock for Tegra124/210 2018-12-14 13:32:55 -08:00
cvb.c clk: tegra: dfll: improve function-level documentation 2016-11-01 17:38:50 -07:00
cvb.h clk: tegra: dfll: Properly clean up on failure and removal 2016-04-28 12:41:54 +02:00